summaryrefslogtreecommitdiff
path: root/rts/Task.c
diff options
context:
space:
mode:
authorEdsko de Vries <edsko@well-typed.com>2014-07-13 15:19:45 -0500
committerAustin Seipp <austin@well-typed.com>2014-07-13 15:19:45 -0500
commit16403f0d182d2d3d0b1fbe5ad778ead4bfcb7e16 (patch)
tree926bff900ac33c7cb319320356e4eaeb2eccd2e5 /rts/Task.c
parent39630ab15cc0607103dc4ef3d9089de44ef17c2d (diff)
downloadhaskell-16403f0d182d2d3d0b1fbe5ad778ead4bfcb7e16.tar.gz
Acquire all_tasks_mutex in forkProcess
Summary: (for the same reason that we acquire all the other mutexes) Test Plan: validate Reviewers: simonmar, austin, duncan Reviewed By: simonmar, austin, duncan Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D60
Diffstat (limited to 'rts/Task.c')
-rw-r--r--rts/Task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Task.c b/rts/Task.c
index e191bd0d8c..842ad84a89 100644
--- a/rts/Task.c
+++ b/rts/Task.c
@@ -39,7 +39,7 @@ static Task * allocTask (void);
static Task * newTask (rtsBool);
#if defined(THREADED_RTS)
-static Mutex all_tasks_mutex;
+Mutex all_tasks_mutex;
#endif
/* -----------------------------------------------------------------------------