pike.git / lib / modules / Thread.pmod

version» Context lines:

pike.git/lib/modules/Thread.pmod:1: - constant Mutex=_static_modules.Builtin.Mutex; - constant Condition=_static_modules.Builtin.Condition; + constant Mutex=__builtin.Mutex; + constant Condition=__builtin.Condition;      class Fifo {    inherit Builtin.condition : r_cond;    inherit Builtin.condition: w_cond;    inherit Builtin.mutex: lock;       mixed *buffer;    int r_ptr, w_ptr;       int size() { return (w_ptr+sizeof(buffer) - r_ptr) % sizeof(buffer); }