diff options
Diffstat (limited to 'pyinotify.ThreadedNotifier-class.html')
-rw-r--r-- | pyinotify.ThreadedNotifier-class.html | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/pyinotify.ThreadedNotifier-class.html b/pyinotify.ThreadedNotifier-class.html index a1bcc51..394a4f1 100644 --- a/pyinotify.ThreadedNotifier-class.html +++ b/pyinotify.ThreadedNotifier-class.html @@ -76,14 +76,14 @@ <area shape="rect" id="node2_36" href="javascript:void(0);" title="threading.Thread.getName" alt="" coords="94,295,261,315"/> <area shape="rect" id="node2_37" href="javascript:void(0);" title="threading.Thread.setName" alt="" coords="94,315,261,335"/> <area shape="rect" id="node2" href="javascript:void(0);" title="A class that represents a thread of control." alt="" coords="81,68,272,341"/> -<area shape="rect" id="node3" href="javascript:void(0);" title="threading._Verbose" alt="" coords="108,5,245,49"/> -<area shape="rect" id="node4_38" href="pyinotify.Notifier-class.html#append_event" title="Append a raw event to the event queue." alt="" coords="314,158,541,178"/> -<area shape="rect" id="node4_39" href="pyinotify.Notifier-class.html#proc_fun" title="pyinotify.Notifier.proc_fun" alt="" coords="314,178,541,198"/> -<area shape="rect" id="node4_40" href="pyinotify.Notifier-class.html#coalesce_events" title="Coalescing events." alt="" coords="314,198,541,218"/> -<area shape="rect" id="node4_41" href="pyinotify.Notifier-class.html#check_events" title="Check for new events available to read, blocks up to timeout milliseconds." alt="" coords="314,218,541,238"/> -<area shape="rect" id="node4_42" href="pyinotify.Notifier-class.html#read_events" title="Read events from device, build _RawEvents, and enqueue them." alt="" coords="314,238,541,258"/> -<area shape="rect" id="node4_43" href="pyinotify.Notifier-class.html#process_events" title="Routine for processing events from queue by calling their associated  proccessing method (an instance of ProcessEvent)." alt="" coords="314,258,541,278"/> -<area shape="rect" id="node4" href="pyinotify.Notifier-class.html" title="Read notifications, process events." alt="" coords="302,125,553,284"/> +<area shape="rect" id="node3_38" href="pyinotify.Notifier-class.html#append_event" title="Append a raw event to the event queue." alt="" coords="314,158,541,178"/> +<area shape="rect" id="node3_39" href="pyinotify.Notifier-class.html#proc_fun" title="pyinotify.Notifier.proc_fun" alt="" coords="314,178,541,198"/> +<area shape="rect" id="node3_40" href="pyinotify.Notifier-class.html#coalesce_events" title="Coalescing events." alt="" coords="314,198,541,218"/> +<area shape="rect" id="node3_41" href="pyinotify.Notifier-class.html#check_events" title="Check for new events available to read, blocks up to timeout milliseconds." alt="" coords="314,218,541,238"/> +<area shape="rect" id="node3_42" href="pyinotify.Notifier-class.html#read_events" title="Read events from device, build _RawEvents, and enqueue them." alt="" coords="314,238,541,258"/> +<area shape="rect" id="node3_43" href="pyinotify.Notifier-class.html#process_events" title="Routine for processing events from queue by calling their associated  proccessing method (an instance of ProcessEvent)." alt="" coords="314,258,541,278"/> +<area shape="rect" id="node3" href="pyinotify.Notifier-class.html" title="Read notifications, process events." alt="" coords="302,125,553,284"/> +<area shape="rect" id="node4" href="javascript:void(0);" title="threading._Verbose" alt="" coords="108,5,245,49"/> </map> <img src="uml_class_diagram_for_pyinotif_20.gif" alt='' usemap="#uml_class_diagram_for_pyinotif_20" ismap="ismap" class="graph-without-title" /> </center> @@ -314,14 +314,16 @@ <li><strong class="pname"><code>watch_manager</code></strong> (WatchManager instance) - Watch Manager.</li> <li><strong class="pname"><code>default_proc_fun</code></strong> (instance of ProcessEvent) - Default processing method. See base class.</li> <li><strong class="pname"><code>read_freq</code></strong> (int) - if read_freq == 0, events are read asap, if read_freq is > 0, - this thread sleeps max(0, read_freq - timeout) seconds.</li> + this thread sleeps max(0, read_freq - (timeout / 1000)) seconds.</li> <li><strong class="pname"><code>threshold</code></strong> (int) - File descriptor will be read only if the accumulated size to read becomes >= threshold. If != 0, you likely want to use it in combination with an appropriate value set for read_freq because without that you would keep looping without really reading anything and that until the amount of events to read is >= threshold. At least with read_freq you might sleep.</li> - <li><strong class="pname"><code>timeout</code></strong> (int) - https://docs.python.org/3/library/select.html#polling-objects</li> + <li><strong class="pname"><code>timeout</code></strong> (int) - see read_freq above. If provided, it must be set in milliseconds. + See + https://docs.python.org/2/library/select.html#select.poll.poll</li> </ul></dd> <dt>Overrides: object.__init__ @@ -443,7 +445,7 @@ <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> - Generated by Epydoc 3.0.1 on Fri Jan 9 18:03:53 2015 + Generated by Epydoc 3.0.1 on Thu Jun 4 11:54:21 2015 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" |