diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-11-05 22:58:36 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-11-05 22:58:36 +0000 |
commit | 7d5e90d121078be23986be35252a4612d2f39f68 (patch) | |
tree | ad18d357e3560b507d64f9d64a173f3e2f161ab7 /nuttx/sched/work_queue.c | |
parent | 4e4e59b8d249ed809a8a97072f0f7efcbaf4bc89 (diff) | |
download | px4-nuttx-7d5e90d121078be23986be35252a4612d2f39f68.tar.gz px4-nuttx-7d5e90d121078be23986be35252a4612d2f39f68.tar.bz2 px4-nuttx-7d5e90d121078be23986be35252a4612d2f39f68.zip |
Incorporate the work thread
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2230 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/work_queue.c')
-rwxr-xr-x | nuttx/sched/work_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/sched/work_queue.c b/nuttx/sched/work_queue.c index 9e8c44e52..46afdc1d8 100755 --- a/nuttx/sched/work_queue.c +++ b/nuttx/sched/work_queue.c @@ -117,6 +117,7 @@ int work_queue(struct work_s *work, worker_t worker, FAR void *arg, uint32 delay flags = irqsave(); work->qtime = g_system_timer; /* Time work queued */ dq_addlast((FAR dq_entry_t *)work, &g_work); + work_signal(); /* Wake up the worker thread */ irqrestore(flags); return OK; } |