pike.git / lib / modules / Concurrent.pmod

version» Context lines:

pike.git/lib/modules/Concurrent.pmod:698:    private Promise promise;    private int(0..) promises;    private int(0..) succeeded, failed;    final array(mixed) results;    final int(0..) min_failures;    final int(-1..) max_failures;    final mixed accumulator;    final function(mixed, mixed, mixed ... : mixed) fold_fun;    final array(mixed) extra;    -  private void create(Promise p) +  protected void create(Promise p)    {    if (p->_materialised || p->_materialised++)    error("Cannot materialise a Promise more than once.\n");    promise = p;    }       final void materialise()    {    if (promise->_astate)    {