pike.git / lib / modules / Thread.pmod

version» Context lines:

pike.git/lib/modules/Thread.pmod:1:   #pike __REAL_VERSION__    - #if constant(thread_create) + #if constant(__builtin.thread_id)   constant Thread=__builtin.thread_id;      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; -  +    optional constant all_threads = predef::all_threads; -  + optional constant get_thread_quanta = predef::get_thread_quanta; + optional constant set_thread_quatna = predef::set_thread_quanta;      constant THREAD_NOT_STARTED = __builtin.THREAD_NOT_STARTED;   constant THREAD_RUNNING = __builtin.THREAD_RUNNING;   constant THREAD_EXITED = __builtin.THREAD_EXITED;         //! @[Fifo] implements a fixed length first-in, first-out queue.   //! A fifo is a queue of values and is often used as a stream of data   //! between two threads.   //!