[project @ 2002-02-14 07:39:16 by sof]
authorsof <unknown>
Thu, 14 Feb 2002 07:39:16 +0000 (07:39 +0000)
committersof <unknown>
Thu, 14 Feb 2002 07:39:16 +0000 (07:39 +0000)
wibble

ghc/rts/Task.c

index bf20e99..4086127 100644 (file)
@@ -135,7 +135,8 @@ stopTaskManager ()
 /************ THREADS version *****************/
 
 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
      the creation of worker tasks. Tasks are created lazily, i.e.,
@@ -152,8 +153,6 @@ startTask ( void (*taskStart)(void) )
   int r;
   OSThreadId tid;
   
-  /* Locks assumed: rts_mutex */
-  
   /* If more than one worker thread is known to be blocked waiting
      on thread_ready_cond, signal it rather than creating a new one.
   */