tasking: implement task_kill function, thanks deepseek
This commit is contained in:
+3
-2
@@ -63,13 +63,14 @@ typedef struct Process
|
||||
struct Process* next; // Следующий процесс
|
||||
|
||||
file_t* file_descriptors[MAX_OPEN_FILES];
|
||||
uint8_t zombie;
|
||||
} Process;
|
||||
|
||||
extern Process* current;
|
||||
|
||||
Process* task_create(uint32_t func, uint32_t user_esp, uint32_t ring, uint32_t* pagedir);
|
||||
void task_kill(Process* proc);
|
||||
void task_exit();
|
||||
|
||||
void task_kill(Process* proc);
|
||||
|
||||
void scheduler_init();
|
||||
void schedule();
|
||||
|
||||
Reference in New Issue
Block a user