common.mrsw (version 0.1, 6 May 2003)
index
e:\bothans\common\mrsw.py

 Multiple Readers / Single Writer Lock
Heavily inspired from sync.py in the python source distribution
Modified to use high level objects from the threading module

 
Classes
            
RWLock
 
class RWLock
       
   Methods defined here:
__init__(self)
readIn(self)
readOut(self)
writeIn(self)
writeOut(self)
writeToRead(self)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'common.mrsw'
 
Functions
            
Lock = allocate_lock(...)
allocate_lock() -> lock object
(allocate() is an obsolete synonym)
 
Create a new lock object.  See LockType.__doc__ for information about locks.
 
Data
             __author__ = 'Michel Rasschaert <mrasschaert@neocles.com>'
__date__ = '6 May 2003'
__file__ = r'e:\bothans\common\mrsw.pyc'
__license__ = 'This file is part of Bothans\n\n Bothans is fre...lace, Suite 330, Boston, MA 02111-1307 USA\n '
__name__ = 'common.mrsw'
__status__ = 'alpha'
__version__ = '0.1'
 
Author
             Michel Rasschaert <mrasschaert@neocles.com>