[Design] Comment on New Notification Manager

Andrew Francis andrewfr_ice at yahoo.com
Thu Dec 11 09:48:26 PST 2003


Hello Colleagues:

I recently visited http://cvs.osafoundation.org
and looked at the new Notification Manager. 
Most of the vestiges of the old NM are gone,
although the basic structure is the same and
some of the comments are still present. Although
the old NM worked and implemented all of the
Notification API, it was quickly written, used 
old Python constructs and was larger due to layering
and ADTs. The layering and ADTs were put in for
easy prototyping through subclassing. For instance, 
I have NM subclases that prototype callbacks and
pattern filtering. 

The real improvement I see is that two "mutexes" are 
used to get around a deadlock situation I noticed
while writing the code but didn't address. This
improvement is a good thing. 

Cheers,
Andrew 

PS: I believe that Python dictionaries, given 
    certain provisos are thread-safe.





__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


More information about the Design mailing list