pike.git / lib / modules / Thread.pmod

version» Context lines:

pike.git/lib/modules/Thread.pmod:3: Inside #if constant(thread_create)
  #if constant(thread_create)   constant Thread=__builtin.thread_id;      // The reason for this inherit is rather simple.   // It's now possible to write Thread Thread( ... );   //   // This makes the interface look somewhat more thought-through.   //   inherit Thread;    + // We don't want to create a thread of the module... + static void create(mixed ... args) + { + } +    optional 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;