projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c1123a7
)
turn off the usleep() in the GC thread idle loop (tmp, for portability)
author
Simon Marlow
<simonmarhaskell@gmail.com>
Thu, 17 Apr 2008 22:02:21 +0000
(22:02 +0000)
committer
Simon Marlow
<simonmarhaskell@gmail.com>
Thu, 17 Apr 2008 22:02:21 +0000
(22:02 +0000)
rts/sm/GC.c
patch
|
blob
|
history
diff --git
a/rts/sm/GC.c
b/rts/sm/GC.c
index
1d64699
..
a8c637d
100644
(file)
--- a/
rts/sm/GC.c
+++ b/
rts/sm/GC.c
@@
-907,7
+907,7
@@
loop:
gct->thread_index, r);
while (gc_running_threads != 0) {
gct->thread_index, r);
while (gc_running_threads != 0) {
- usleep(1);
+ // usleep(1);
if (any_work()) {
inc_running();
goto loop;
if (any_work()) {
inc_running();
goto loop;