Minor changes to work queue timing logic

This commit is contained in:
Gregory Nutt
2014-10-10 12:27:11 -06:00
parent 215c2be1c0
commit 75e7a4dbfc
4 changed files with 65 additions and 6 deletions
+6
View File
@@ -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");