Fix a glitch with signal handling
This commit is contained in:
parent
40124cac49
commit
d99dc5688e
@ -125,6 +125,7 @@ void make_process_ready(process_t * proc) {
|
||||
spin_lock(&sleep_lock);
|
||||
list_delete(sleep_queue, proc->timed_sleep_node);
|
||||
spin_unlock(&sleep_lock);
|
||||
proc->sleep_node.owner = NULL;
|
||||
free(proc->timed_sleep_node->value);
|
||||
} else {
|
||||
spin_lock(&wait_lock_tmp);
|
||||
|
Loading…
Reference in New Issue
Block a user