# HG changeset patch # User Thinker K.F. Li # Date 1294720438 -28800 # Node ID 0cb5979549be55ad18538df505649809a2512122 # Parent 07e0cb1e051d45e8569dc2e54c2a15135da244cf Add more doc for data_monitor diff -r 07e0cb1e051d -r 0cb5979549be pyink/data_monitor.py --- a/pyink/data_monitor.py Tue Jan 11 11:43:32 2011 +0800 +++ b/pyink/data_monitor.py Tue Jan 11 12:33:58 2011 +0800 @@ -5,6 +5,12 @@ # This class is a meta-class that monitor data accessing for its instance # classes. # +# It is a monitor with a small modification. The calling would be +# rejected when the domview_ui was locked. It will not waiting for a +# lock. +# +# \see http://en.wikipedia.org/wiki/Monitor_%28synchronization%29 +# # All methods, of instance classes, who's name is prefixed with 'do' are # monitored. When a monitored method was called, monitor will try to lock # _domview of the object. The method is only called if successfully acquiring