pike.git / lib / modules / Concurrent.pmod

version» Context lines:

pike.git/lib/modules/Concurrent.pmod:539:    //! @seealso    //! @[failure()], @[success()], @[on_failure()]    void try_failure(mixed value)    {    if (state) return;    object key = mux->lock();    if (state) return;    unlocked_failure(value);    }    -  protected void destroy() +  protected void _destruct()    {    if (!state) {    unlocked_failure(({ "Promise broken.\n", backtrace() }));    }    }   }      protected class FirstCompleted   {    inherit Promise;