Trees | Indices | Help |
|
---|
|
A way to notify the asyncore loop that something is going on.
If an asyncore daemon is multithreaded when a thread tries to push some data to a socket, the main loop handling asynchronous requests might be sleeping waiting on a select(). To avoid this it can create an instance of the AsyncAwaker, which other threads can use to wake it up.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Constructor for AsyncAwaker
|
|
|
Signal the asyncore main loop. Any data we send here will be ignored, but it will cause the select() call to return. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 4 13:43:53 2016 | http://epydoc.sourceforge.net |