diff options
Diffstat (limited to 'rts/Capability.c')
-rw-r--r-- | rts/Capability.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/Capability.c b/rts/Capability.c index 03b2a86280..f9141ee025 100644 --- a/rts/Capability.c +++ b/rts/Capability.c @@ -498,6 +498,9 @@ giveCapabilityToTask (Capability *cap USED_IF_DEBUG, Task *task) * * The current Task (cap->task) releases the Capability. The Capability is * marked free, and if there is any work to do, an appropriate Task is woken up. + * + * N.B. May need to take all_tasks_mutex. + * * ------------------------------------------------------------------------- */ #if defined(THREADED_RTS) |