pike.git / lib / modules / Thread.pmod

version» Context lines:

pike.git/lib/modules/Thread.pmod:1:   #pike __REAL_VERSION__      #if constant(thread_create)   constant Thread=__builtin.thread_id;    - //! Create a new thread. - //! - //! @deprecated predef::Thread.Thread - optional __deprecated__ Thread `()( mixed f, mixed ... args ) - { -  return thread_create( f, @args ); - } -  +    optional constant MutexKey=__builtin.mutex_key;   optional constant Mutex=__builtin.mutex;   optional constant Condition=__builtin.condition;   optional constant _Disabled=__builtin.threads_disabled;   optional constant Local=__builtin.thread_local;      optional constant thread_create = predef::thread_create;      optional constant this_thread = predef::this_thread;