mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Decouple the user-space work queue from the kernel space work queues
This commit is contained in:
@@ -46,8 +46,7 @@
|
||||
|
||||
#include "wqueue/wqueue.h"
|
||||
|
||||
#if defined(CONFIG_SCHED_WORKQUEUE) && defined(CONFIG_SCHED_USRWORK) && \
|
||||
!defined(__KERNEL__)
|
||||
#if defined(CONFIG_SCHED_USRWORK) && !defined(__KERNEL__)
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -136,4 +135,4 @@ void work_unlock(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SCHED_WORKQUEUE && CONFIG_SCHED_USRWORK && !__KERNEL__*/
|
||||
#endif /* CONFIG_SCHED_USRWORK && !__KERNEL__*/
|
||||
|
||||
Reference in New Issue
Block a user