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
+5
View File
@@ -40,6 +40,7 @@
#include <nuttx/config.h>
#include <errno.h>
#include <queue.h>
#include <debug.h>
#include <nuttx/wqueue.h>
@@ -148,6 +149,10 @@ static int work_hpthread(int argc, char *argv[])
int work_hpstart(void)
{
/* Initialize work queue data structures */
dq_init(&g_hpwork.q);
/* Start the high-priority, kernel mode worker thread */
svdbg("Starting high-priority kernel worker thread\n");
+5
View File
@@ -40,6 +40,7 @@
#include <nuttx/config.h>
#include <errno.h>
#include <queue.h>
#include <debug.h>
#include <nuttx/wqueue.h>
@@ -145,6 +146,10 @@ static int work_lpthread(int argc, char *argv[])
int work_lpstart(void)
{
/* Initialize work queue data structures */
dq_init(&g_lpwork.q);
/* Start the low-priority, kernel mode worker thread(s) */
svdbg("Starting low-priority kernel worker thread\n");