Branch: Tag:

2001-10-28

2001-10-28 18:04:47 by Martin Nilsson <mani@lysator.liu.se>

Fixed reference

Rev: lib/master.pike.in:1.173
Rev: lib/modules/ADT.pmod/Table.pmod:1.22
Rev: lib/modules/Array.pmod:1.59
Rev: lib/modules/Thread.pmod:1.33
Rev: src/modules/Yp/module.pmod.in:1.15

29: Inside #if constant(thread_create)
         - //! @[Thread.Fifo] implements a fixed length first-in, first-out queue. + //! @[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.   //!
37: Inside #if constant(thread_create)
  //! Fifos are only available on systems with threads support.   //!   //! @seealso - //! @[Thread.Queue] + //! @[Queue]   //!   optional class Fifo {    inherit Condition : r_cond;
51: Inside #if constant(thread_create)
   //! This function returns the number of elements currently in the fifo.    //!    //! @seealso -  //! @[read()], @[write()] +  //! @[read()], @[write()]    //!    int size() { return num; }   
61: Inside #if constant(thread_create)
   //! thread writes a value to the fifo.    //!    //! @seealso -  //! @[write()], @[read_array()] +  //! @[write()], @[read_array()]    //!    mixed read()    {
89: Inside #if constant(thread_create)
   //! some other thread writes a value to the fifo.    //!    //! @seealso -  //! @[write()], @[read()] +  //! @[write()], @[read()]    //!    array read_array()    {
121: Inside #if constant(thread_create)
   //! available.    //!    //! @seealso -  //! @[read()] +  //! @[read()]    //!    void write(mixed value)    {
164: Inside #if constant(thread_create)
   }   };    - //! @[Thread.Queue] implements a queue, or a pipeline. The main difference - //! between @[Thread.Queue] and @[Thread.Fifo] is that @[Thread.Queue] + //! @[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.   //!   //! @note
173: Inside #if constant(thread_create)
  //! thread support.   //!   //! @seealso - //! @[Thread.Fifo] + //! @[Fifo]   //!   optional class Queue {    inherit Condition : r_cond;
185: Inside #if constant(thread_create)
   //! This function returns the number of elements currently in the queue.    //!    //! @seealso -  //! @[read()], @[write()] +  //! @[read()], @[write()]    //!    int size() { return w_ptr - r_ptr; }   
195: Inside #if constant(thread_create)
   //! thread writes a value to the queue.    //!    //! @seealso -  //! @[write()] +  //! @[write()]    //!    mixed read()    {
213: Inside #if constant(thread_create)
   //! room for it.    //!    //! @seealso -  //! @[read()] +  //! @[read()]    //!    void write(mixed value)    {