scheduler: properly open init cwd and root, sched_dequeue()

This commit is contained in:
Matheus
2022-09-20 17:05:46 -03:00
parent d4655a2f6c
commit ddb224c3c7
2 changed files with 38 additions and 5 deletions
+2
View File
@@ -67,6 +67,8 @@ typedef struct{
int lock;
} sched_queue;
void sched_dequeue();
proc_t* sched_getinit();
thread_t* sched_newuthread(void* ip, size_t stacksize, void* stack, proc_t* proc, bool run, int prio);
thread_t* sched_newkthread(void* ip, size_t stacksize, bool run, int prio);
void sched_queuethread(thread_t* thread);