pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.186 2001/12/29 22:53:23 nilsson Exp $ +  * $Id: master.pike.in,v 1.187 2002/01/07 22:16:25 nilsson Exp $    *    * Master-file for Pike.    *    * Based on master.pike 1.67.    */      // Some configurable parameters useful for debugging      #pike __REAL_VERSION__   #define PIKE_AUTORELOAD
pike.git/lib/master.pike.in:1445:    }   }      inherit CompatResolver;      //! These are useful if you want to start other Pike processes   //! with the same options as this one was started with.   string _pike_file_name;   string _master_file_name;    - //flag. Gets set to 1 if we're in async-mode (script->main() returned <0) - private int _async=0; + // Gets set to 1 if we're in async-mode (script->main() returned <0) + private int(0..1) _async=0;    - int asyncp() { + //! Returns 1 if we┬┤re in async-mode, e.g. if the main method has + //! returned a negative number. + int(0..1) asyncp() {    return _async;   }      #if constant(thread_create)   // this must be done in __init if someone inherits the master   static object _backend_thread=this_thread();      //! The backend_thread() function is useful to determine if you are   //! the backend thread - important when doing async/sync protocols.   //! This method is only available if thread_create is present.