pike.git / lib / modules / Thread.pmod

version» Context lines:

pike.git/lib/modules/Thread.pmod:1: Inside #if constant(thread_create)
  #if constant(thread_create)      constant Thread=__builtin.thread_id;   constant MutexKey=__builtin.mutex_key;   constant Mutex=__builtin.mutex;   constant Condition=__builtin.condition;   constant _Disabled=__builtin.threads_disabled;   constant Local=__builtin.thread_local;    + constant thread_create = predef::thread_create; + constant this_thread = predef::this_thread; + constant all_threads = predef::all_threads; +    class Fifo {    inherit Condition : r_cond;    inherit Condition : w_cond;    inherit Mutex : lock;       array buffer;    int ptr, num;    int read_tres, write_tres;       int size() { return num; }