delete task only when it's not in running.
This commit is contained in:
@@ -50,4 +50,5 @@ static inline struct CPU* cur_cpu(void)
|
||||
struct spinlock whole_kernel_lock;
|
||||
|
||||
void xizi_enter_kernel();
|
||||
void xizi_leave_kernel();
|
||||
void xizi_leave_kernel();
|
||||
bool xizi_is_in_kernel();
|
||||
Reference in New Issue
Block a user