mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Decoupling work queue data structures. This is part of the preparation to support multiple low-priority worker threads
This commit is contained in:
@@ -48,6 +48,10 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* The state of the user mode work queue. */
|
||||
|
||||
extern struct wqueue_s g_usrwork;
|
||||
|
||||
/****************************************************************************
|
||||
* Private Type Declarations
|
||||
****************************************************************************/
|
||||
@@ -93,7 +97,7 @@ int work_usrthread(int argc, char *argv[])
|
||||
* we process items in the work list.
|
||||
*/
|
||||
|
||||
work_process(&g_work[USRWORK]);
|
||||
work_process(&g_usrwork);
|
||||
}
|
||||
|
||||
return OK; /* To keep some compilers happy */
|
||||
|
||||
Reference in New Issue
Block a user