| Trees | Indices | Help |
|
|---|
|
|
IdleQueue provide three distinct time based features. Uses select.poll()
- Alarm timeout: Execute a callback after foo seconds
2. Timeout event: Call read_timeout() of an plugged object if a timeout has been set, but not removed in time. 3. Check file descriptor of plugged objects for read, write and error events
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
PROCESS_TIMEOUT =
|
|||
|
|||
|
|
|
|
|
Seta a new timeout. If it is not removed after specified seconds, func or obj.read_timeout() will be called A filedescriptor fd can have several timeouts. |
|
|
|
|
|
|
|
Process idlequeue. Check for any pending timeout or alarm events. Call IdleObjects on possible and requested read, write and error events on their file descriptors Call this in regular intervals. |
|
|||
PROCESS_TIMEOUT
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 12 02:06:50 2010 | http://epydoc.sourceforge.net |