Missing workqueue logic
This commit is contained in:
parent
f6d11bc2fd
commit
c9563da832
@ -239,7 +239,10 @@ void work_process(FAR struct kwork_wqueue_s *wqueue, uint32_t period, int wndx)
|
|||||||
|
|
||||||
sigemptyset(&set);
|
sigemptyset(&set);
|
||||||
sigaddset(&set, SIGWORK);
|
sigaddset(&set, SIGWORK);
|
||||||
|
|
||||||
|
wqueue->worker[wndx].busy = false;
|
||||||
DEBUGVERIFY(sigwaitinfo(&set, NULL));
|
DEBUGVERIFY(sigwaitinfo(&set, NULL));
|
||||||
|
wqueue->worker[wndx].busy = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user