pike.git / lib / modules / Thread.pmod

version» Context lines:

pike.git/lib/modules/Thread.pmod:233: Inside #if constant(thread_create)
   {    return f=='O' && sprintf( "%O(%d / %d)", this_program,    size(), read_tres );    }   }      //! @[Queue] implements a queue, or a pipeline. The main difference   //! between @[Queue] and @[Fifo] is that @[Queue]   //! will never block in write(), only allocate more memory.   //! + //! @fixme + //! Ought to be made API-compatible with @[ADT.Queue]. + //!   //! @seealso - //! @[Fifo] + //! @[Fifo], @[ADT.Queue]   //!   optional class Queue {    inherit Condition : r_cond;    inherit Mutex : lock;       array buffer=allocate(16);    int r_ptr, w_ptr;       //! This function returns the number of elements currently in the queue.    //!