X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FCapability.h;h=a15ce15d88862ca5fe1b0be735d5e7ff0869d3e8;hb=7cc184af587cdc8f29608cd98b738fa0322cfec4;hp=a32062a27fe2f39ffaa5ad65d06b965da2c3b020;hpb=51b85031ce99f1e9d4c72249d6d85672188f0fbd;p=ghc-hetmet.git diff --git a/rts/Capability.h b/rts/Capability.h index a32062a..a15ce15 100644 --- a/rts/Capability.h +++ b/rts/Capability.h @@ -79,6 +79,7 @@ struct Capability_ { #if defined(THREADED_RTS) // Worker Tasks waiting in the wings. Singly-linked. Task *spare_workers; + nat n_spare_workers; // count of above // This lock protects running_task, returning_tasks_{hd,tl}, wakeup_queue. Mutex lock;