pike.git / lib / modules / Thread.pmod

version» Context lines:

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