Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
1d0e86e6
Commit
1d0e86e6
authored
Apr 17, 2008
by
simonmarhaskell@gmail.com
Browse files
turn off the usleep() in the GC thread idle loop (tmp, for portability)
parent
c1123a7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/GC.c
View file @
1d0e86e6
...
...
@@ -907,7 +907,7 @@ loop:
gct
->
thread_index
,
r
);
while
(
gc_running_threads
!=
0
)
{
usleep
(
1
);
//
usleep(1);
if
(
any_work
())
{
inc_running
();
goto
loop
;
...
...
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