Acquire all_tasks_mutex in forkProcess
authorEdsko de Vries <edsko@well-typed.com>
Sun, 13 Jul 2014 20:19:45 +0000 (15:19 -0500)
committerAustin Seipp <austin@well-typed.com>
Sun, 13 Jul 2014 20:19:45 +0000 (15:19 -0500)
commit16403f0d182d2d3d0b1fbe5ad778ead4bfcb7e16
tree926bff900ac33c7cb319320356e4eaeb2eccd2e5
parent39630ab15cc0607103dc4ef3d9089de44ef17c2d
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
rts/Schedule.c
rts/Task.c
rts/Task.h