mirror of https://github.com/F-Stack/f-stack.git
parent
3a242c1379
commit
880fddc324
|
@ -2222,9 +2222,9 @@ kqueue_wakeup(struct kqueue *kq)
|
||||||
}
|
}
|
||||||
if (!knlist_empty(&kq->kq_sel.si_note))
|
if (!knlist_empty(&kq->kq_sel.si_note))
|
||||||
#ifndef FSTACK
|
#ifndef FSTACK
|
||||||
kqueue_schedtask(kq);
|
kqueue_schedtask(kq);
|
||||||
#else
|
#else
|
||||||
KNOTE_UNLOCKED(&kq->kq_sel.si_note, 0);
|
KNOTE_UNLOCKED(&kq->kq_sel.si_note, 0);
|
||||||
#endif
|
#endif
|
||||||
if ((kq->kq_state & KQ_ASYNC) == KQ_ASYNC) {
|
if ((kq->kq_state & KQ_ASYNC) == KQ_ASYNC) {
|
||||||
pgsigio(&kq->kq_sigio, SIGIO, 0);
|
pgsigio(&kq->kq_sigio, SIGIO, 0);
|
||||||
|
|
Loading…
Reference in New Issue