On 08/26/2013 12:55 AM, Rory McGuire wrote:

shared chan!Fiber scheduler; // channel contains Fibers waiting for
their time slice
static this () {
     if (scheduler is null) {


You want 'shared static this' instead to avoid a race condition.

Reply via email to