Package beepy :: Package core :: Module _util :: Class DataQueue
[show private | hide private]
[frames | no frames]

Class DataQueue


Implements a different kind of multi-producer/ multi-consumer queue.
Method Summary
  __init__(self, maxsize, timeout)
Initialise a queue with a given maximum size and a given wait timeout value
  empty(self)
  full(self)
  get(self, timeout)
  get_nowait(self)
  notify(self)
This is a handy function which wakes up all waiting threads.
  put(self, item)
  put_nowait(self, item)
  qsize(self)

Method Details

__init__(self, maxsize=0, timeout=1)
(Constructor)

Initialise a queue with a given maximum size and a given wait timeout value

notify(self)

This is a handy function which wakes up all waiting threads.

Generated by Epydoc 2.0 on Thu Sep 30 14:39:26 2004 http://epydoc.sf.net