pike.git / lib / modules / Concurrent.pmod

version» Context lines:

pike.git/lib/modules/Concurrent.pmod:232:    }       //! Return a @[Future] that will be fulfilled with an    //! array of the fulfilled result of this object followed    //! by the fulfilled results of @[others].    //!    //! @seealso    //! @[results()]    this_program zip(this_program ... others)    { -  if (!sizeof(others)) return local::this; -  return results(({ local::this }) + others); +  if (!sizeof(others)) return this_program::this; +  return results(({ this_program::this }) + others);    }   }      //! Promise to provide a @[Future] value.   //!   //! Objects of this class are typically kept internal to the   //! code that provides the @[Future] value. The only thing   //! that is directly returned to the user is the return   //! value from @[future()].   //!