mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 13:25:12 +08:00
Add support for delays of different durations in work queue processing
This commit is contained in:
@@ -127,7 +127,7 @@ int work_qqueue(FAR struct wqueue_s *wqueue, FAR struct work_s *work,
|
||||
work->qtime = clock_systimer(); /* Time work queued */
|
||||
|
||||
dq_addlast((FAR dq_entry_t *)work, &wqueue->q);
|
||||
kill(wqueue->pid, SIGWORK); /* Wake up the worker thread */
|
||||
kill(wqueue->pid[0], SIGWORK); /* Wake up the worker thread */
|
||||
|
||||
irqrestore(flags);
|
||||
return OK;
|
||||
|
||||
Reference in New Issue
Block a user