* Make the ksym table built-in with kernel image, thus remove the need
[lunaix-os.git] / lunaix-os / kernel / ds / waitq.c
index c9fb88f3fede01cffd78d3900e33027f05d28457..522974fbcf6b84fc939f2d9f4c55ed1599839638 100644 (file)
@@ -18,6 +18,8 @@ pwait(waitq_t* queue)
     block_current_thread();
     sched_pass();
 
+    // In case of SIGINT-forced awaken
+    llist_delete(&current_wq->waiters);
     cpu_enable_interrupt();
 }