Commit 2efe6e31 authored by sof's avatar sof
Browse files

[project @ 2002-02-14 07:39:16 by sof]

wibble
parent 1fb39ac3
...@@ -135,7 +135,8 @@ stopTaskManager () ...@@ -135,7 +135,8 @@ stopTaskManager ()
/************ THREADS version *****************/ /************ THREADS version *****************/
void void
startTaskManager( nat maxCount, void (*taskStart)(void) ) startTaskManager( nat maxCount,
void (*taskStart)(void) STG_UNUSED )
{ {
/* In the threaded case, maxCount is used to limit the /* In the threaded case, maxCount is used to limit the
the creation of worker tasks. Tasks are created lazily, i.e., the creation of worker tasks. Tasks are created lazily, i.e.,
...@@ -152,8 +153,6 @@ startTask ( void (*taskStart)(void) ) ...@@ -152,8 +153,6 @@ startTask ( void (*taskStart)(void) )
int r; int r;
OSThreadId tid; OSThreadId tid;
/* Locks assumed: rts_mutex */
/* If more than one worker thread is known to be blocked waiting /* If more than one worker thread is known to be blocked waiting
on thread_ready_cond, signal it rather than creating a new one. on thread_ready_cond, signal it rather than creating a new one.
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment