mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
signal: fix bug
This commit is contained in:
@@ -350,7 +350,6 @@ void signal_signalproc(struct proc_t *proc, int signal) {
|
|||||||
while (thread) {
|
while (thread) {
|
||||||
THREAD_ENTER(thread);
|
THREAD_ENTER(thread);
|
||||||
|
|
||||||
thread = thread->procnext;
|
|
||||||
if (SIGNAL_GET(&thread->signals.waiting, signal)) {
|
if (SIGNAL_GET(&thread->signals.waiting, signal)) {
|
||||||
// thread is waiting for this signal, set it as pending in its pending set and
|
// thread is waiting for this signal, set it as pending in its pending set and
|
||||||
// signal that it should wake up
|
// signal that it should wake up
|
||||||
|
|||||||
Reference in New Issue
Block a user