Commit f70052e9 authored by Simon Marlow's avatar Simon Marlow
Browse files

forkProcess: startTimer() in the child, because the timer will be reset

parent df7dc3fa
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment