mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 05:47:54 +00:00
Minor changes to work queue timing logic
This commit is contained in:
parent
215c2be1c0
commit
75e7a4dbfc
4 changed files with 65 additions and 6 deletions
|
|
@ -39,6 +39,8 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <queue.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/wqueue.h>
|
||||
|
|
@ -126,6 +128,10 @@ static int work_usrthread(int argc, char *argv[])
|
|||
|
||||
int work_usrstart(void)
|
||||
{
|
||||
/* Initialize work queue data structures */
|
||||
|
||||
dq_init(&g_usrwork.q);
|
||||
|
||||
/* Start a user-mode worker thread for use by applications. */
|
||||
|
||||
svdbg("Starting user-mode worker thread\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue