Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sanchayan Maity
GHC
Commits
2efe6e31
Commit
2efe6e31
authored
Feb 14, 2002
by
sof
Browse files
[project @ 2002-02-14 07:39:16 by sof]
wibble
parent
1fb39ac3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Task.c
View file @
2efe6e31
...
@@ -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.
*/
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment