projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1fb39ac
)
[project @ 2002-02-14 07:39:16 by sof]
author
sof
<unknown>
Thu, 14 Feb 2002 07:39:16 +0000
(07:39 +0000)
committer
sof
<unknown>
Thu, 14 Feb 2002 07:39:16 +0000
(07:39 +0000)
wibble
ghc/rts/Task.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Task.c
b/ghc/rts/Task.c
index
bf20e99
..
4086127
100644
(file)
--- a/
ghc/rts/Task.c
+++ b/
ghc/rts/Task.c
@@
-135,7
+135,8
@@
stopTaskManager ()
/************ THREADS version *****************/
void
/************ 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.,
{
/* 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;
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.
*/
/* If more than one worker thread is known to be blocked waiting
on thread_ready_cond, signal it rather than creating a new one.
*/