mirror of
https://github.com/apache/nuttx.git
synced 2026-09-25 09:15:09 +08:00
Decouple the user-space work queue from the kernel space work queues
This commit is contained in:
@@ -52,8 +52,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
|
||||
@@ -404,4 +403,4 @@ int work_usrstart(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SCHED_WORKQUEUE && CONFIG_SCHED_USRWORK && !__KERNEL__*/
|
||||
#endif /* CONFIG_SCHED_USRWORK && !__KERNEL__*/
|
||||
|
||||
Reference in New Issue
Block a user