diff options
Diffstat (limited to 'pyinotify.AsyncNotifier-class.html')
-rw-r--r-- | pyinotify.AsyncNotifier-class.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pyinotify.AsyncNotifier-class.html b/pyinotify.AsyncNotifier-class.html index 5eac968..a18c166 100644 --- a/pyinotify.AsyncNotifier-class.html +++ b/pyinotify.AsyncNotifier-class.html @@ -329,16 +329,17 @@ <li><strong class="pname"><code>default_proc_fun</code></strong> - Default processing method. If None, a new instance of PrintAllEvents will be assigned.</li> <li><strong class="pname"><code>read_freq</code></strong> - if read_freq == 0, events are read asap, if read_freq is > 0, - this thread sleeps max(0, read_freq - timeout) seconds. But if - timeout is None it may be different because poll is blocking - waiting for something to read.</li> + this thread sleeps max(0, read_freq - (timeout / 1000)) seconds. + But if timeout is None it may be different because poll is + blocking waiting for something to read.</li> <li><strong class="pname"><code>threshold</code></strong> - 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 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 set you might sleep.</li> - <li><strong class="pname"><code>timeout</code></strong> - https://docs.python.org/3/library/select.html#polling-objects</li> + <li><strong class="pname"><code>timeout</code></strong> - see read_freq above. If provided, it must be set in milliseconds. + See https://docs.python.org/2/library/select.html#polling-objects</li> </ul></dd> <dt>Overrides: object.__init__ @@ -397,7 +398,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:20 2015 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" |