Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.server.queue.exec_thread.ThreadWaiter Class Reference
Inheritance diagram for cpc.server.queue.exec_thread.ThreadWaiter:

Public Member Functions

def releaseAndWait
 
def waitUntilZero
 
def finishWaiting
 

Public Attributes

 N
 
 sema
 
 cond
 
 cont
 

Detailed Description

A thread waiter: waits on waitUntilZero until all n threads have
   called release().

Member Function Documentation

def cpc.server.queue.exec_thread.ThreadWaiter.finishWaiting (   self)
def cpc.server.queue.exec_thread.ThreadWaiter.releaseAndWait (   self)
Exec threads call this: decreease the active thread counter, and
   wait until the self.ended condition is true.
def cpc.server.queue.exec_thread.ThreadWaiter.waitUntilZero (   self)

Member Data Documentation

cpc.server.queue.exec_thread.ThreadWaiter.cond
cpc.server.queue.exec_thread.ThreadWaiter.cont
cpc.server.queue.exec_thread.ThreadWaiter.N
cpc.server.queue.exec_thread.ThreadWaiter.sema

The documentation for this class was generated from the following file: