pike.git / lib / modules / Thread.pmod

version» Context lines:

pike.git/lib/modules/Thread.pmod:541: Inside #if constant(__builtin.thread_id)
   //! Returns negative on failure.    //! @endint    function(:int) `status() { return ro->status; }       //! @returns    //! Returns the result if available, a backtrace on failure,    //! and @expr{0@} (zero) otherwise.    function(:mixed) `result() { return ro->result; }       //! Wait for completion. -  mixed `()() +  protected mixed `()()    {    return ro();    }       //! Register a callback to be called when    //! the result is available.    //!    //! @param to    //! Callback to be called. The first    //! argument to the callback will be