[Design] Comment on New Notification Manager
andrewfr_ice at yahoo.com
Thu Dec 11 09:48:26 PST 2003
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
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.
PS: I believe that Python dictionaries, given
certain provisos are thread-safe.
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
More information about the Design