diff --git a/source/tasky/jobs.d b/source/tasky/jobs.d index b4ca9a3..2e0852f 100644 --- a/source/tasky/jobs.d +++ b/source/tasky/jobs.d @@ -110,11 +110,8 @@ public abstract class Descriptor : Signal /** * Static initialization of the descriptor * class ID queue's lock - * - * FIXME: BIG BUG FOR MULTITHREADED THIS MUST BE SET TO GSHARED TOO, else each thread - * will be overwriting the global descQueuLock */ - static this() + __gshared static this() { descQueueLock = new Mutex(); }