From 086521f744f989a4f11585989f1304ab1333a61b Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 3 Oct 2019 15:18:48 +0000 Subject: rts: Eliminate shutdown data race on task counters --- rts/Task.c | 1 + 1 file changed, 1 insertion(+) (limited to 'rts/Task.c') diff --git a/rts/Task.c b/rts/Task.c index 5fc2331827..c471d4afee 100644 --- a/rts/Task.c +++ b/rts/Task.c @@ -30,6 +30,7 @@ Task *all_tasks = NULL; // current number of bound tasks + total number of worker tasks. +// Locks required: all_tasks_mutex. uint32_t taskCount; uint32_t workerCount; uint32_t currentWorkerCount; -- cgit v1.2.1