Home | Trees | Indices | Help |
|
---|
|
Class that monitors reader insertion/removal. and notify observers
note: a reader monitoring thread will be running as long as the reader monitor has observers, or ReaderMonitor.stop() is called.
It implements the shared state design pattern, where objects of the same type all share the same state, in our case essentially the ReaderMonitoring Thread. Thanks to Frank Aune for implementing the shared state pattern logics.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
__shared_state =
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Add an observer.
|
Remove an observer.
|
str(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Feb 17 16:23:26 2017 | http://epydoc.sourceforge.net |