pike.git / lib / modules / Tools.pmod / Shoot.pmod / Concurrent.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Shoot.pmod/Concurrent.pike:1:   #pike __REAL_VERSION__   inherit Tools.Shoot.Test;    - constant name="Concurrent instant success"; + constant disabled = 1; + constant name="Concurrent indirect success";      int perform()   {    Concurrent.Promise p = Concurrent.Promise();    p->then() { }; -  p->success(1); +  call_out(lambda() { p->success(1); }, 0); +  p->get();    return 1;   }