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:
df7dc3f
)
forkProcess: startTimer() in the child, because the timer will be reset
author
Simon Marlow
<simonmar@microsoft.com>
Mon, 5 Mar 2007 14:45:50 +0000
(14:45 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Mon, 5 Mar 2007 14:45:50 +0000
(14:45 +0000)
rts/Schedule.c
patch
|
blob
|
history
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
b405759
..
e328b5b
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-2195,6
+2195,10
@@
forkProcess(HsStablePtr *entry
cap->returning_tasks_tl = NULL;
#endif
+ // On Unix, all timers are reset in the child, so we need to start
+ // the timer again.
+ startTimer();
+
cap = rts_evalStableIO(cap, entry, NULL); // run the action
rts_checkSchedStatus("forkProcess",cap);