pike.git / lib / modules / Concurrent.pmod

version» Context lines:

pike.git/lib/modules/Concurrent.pmod:572:    protected string _sprintf(int t)    {    return t=='O' && sprintf("%O(%s,%O)", this_program,    ([ STATE_PENDING : "pending",    STATE_REJECTED : "rejected",    STATE_FULFILLED : "fulfilled" ])[state],    result);    }   }    - class AggregateState + protected class AggregateState   {    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;