pike.git / lib / modules / Concurrent.pmod

version» Context lines:

pike.git/lib/modules/Concurrent.pmod:653:    key = 0;    cond->broadcast();    if (sizeof(cbs))    {    foreach(cbs; ; array cb)    if (cb)    callout(cb[0], 0, value, @cb[1..]);    }    else if (globalfailure)    callout(globalfailure, 0, value); +  failure_cbs = success_cbs = 0; // Free memory and references    }    else    {    key = 0;    if (!try)    error("Promise has already been finalised.\n");    }    return this_program::this;    }