Missing workqueue logic

This commit is contained in:
Gregory Nutt 2014-10-12 17:19:51 -06:00
parent f6d11bc2fd
commit c9563da832

View File

@ -239,7 +239,10 @@ void work_process(FAR struct kwork_wqueue_s *wqueue, uint32_t period, int wndx)
sigemptyset(&set);
sigaddset(&set, SIGWORK);
wqueue->worker[wndx].busy = false;
DEBUGVERIFY(sigwaitinfo(&set, NULL));
wqueue->worker[wndx].busy = true;
}
else
#endif