diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-09-04 00:54:09 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-09-04 00:54:09 +0000 |
commit | d593a95d5adc05bbe11cc0b6d84132be2bbc70e5 (patch) | |
tree | 7bfc2aaf9a03320f24991b54a67a1db24e05f100 /nuttx/sched/sched_free.c | |
parent | 612735d392e7eab30237e67e5b0c55d2ea24cdcc (diff) | |
download | px4-firmware-d593a95d5adc05bbe11cc0b6d84132be2bbc70e5.tar.gz px4-firmware-d593a95d5adc05bbe11cc0b6d84132be2bbc70e5.tar.bz2 px4-firmware-d593a95d5adc05bbe11cc0b6d84132be2bbc70e5.zip |
Add support for multiple work queues
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5081 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/sched/sched_free.c')
-rw-r--r-- | nuttx/sched/sched_free.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/sched_free.c b/nuttx/sched/sched_free.c index 4df77b109..e5e0bdacf 100644 --- a/nuttx/sched/sched_free.c +++ b/nuttx/sched/sched_free.c @@ -1,7 +1,7 @@ /************************************************************************ * sched/sched_free.c * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -99,7 +99,7 @@ void sched_free(FAR void *address) /* Signal the worker thread that is has some clean up to do */ #ifdef CONFIG_SCHED_WORKQUEUE - work_signal(); + work_signal(LPWORK); #endif irqrestore(saved_state); } |