Modularize starting of worker threads to better isolate individual initialization characteristics

This commit is contained in:
Gregory Nutt
2014-10-10 09:34:03 -06:00
parent 2015fd76e2
commit b2cebaa9d4
8 changed files with 203 additions and 235 deletions
-23
View File
@@ -343,29 +343,6 @@ extern "C"
void work_process(FAR struct wqueue_s *wqueue);
/****************************************************************************
* Name: work_usrthread
*
* Description:
* This is the worker thread that performs the actions placed on the user
* work queue.
*
* This is a user mode work queue. It must be used by applications for
* miscellaneous operations. The user work thread must be started by
* application start-up logic by calling work_usrstart().
*
* Input parameters:
* argc, argv (not used)
*
* Returned Value:
* Does not return
*
****************************************************************************/
#if defined(CONFIG_SCHED_USRWORK) && !defined(__KERNEL__)
int work_usrthread(int argc, char *argv[]);
#endif
/****************************************************************************
* Name: work_usrstart
*