Package envi :: Module threads
[hide private]
[frames] | no frames]

Module threads

source code

A couple useful thread related toys...

Classes [hide private]
  ChunkQueue
This is a Queue like object which returns *all* pending items when requested to minimize round tripping.
  Queue
A deterministic Queue that doesn't suck.
Functions [hide private]
 
firethread(func)
A decorator which fires a thread to do the given call.
source code
 
maintthread(stime)
A decorator which will act as a maintenance loop by calling back the wrapped function ( in a thread fired for this purpose ) every "stime" seconds.
source code
Function Details [hide private]

firethread(func)

source code 

A decorator which fires a thread to do the given call.

NOTE: This means these methods may not return anything and callers may not expect sync behavior!