Author: dmeyer
Date: Tue Nov 20 09:24:58 2007
New Revision: 2906
Log:
add some doc
Modified:
trunk/base/src/notifier/thread.py
Modified: trunk/base/src/notifier/thread.py
==============================================================================
--- trunk/base/src/notifier/thread.py (original)
+++ trunk/base/src/notifier/thread.py Tue Nov 20 09:24:58 2007
@@ -231,6 +231,9 @@
fcntl.fcntl(_thread_notifier_pipe[1], fcntl.F_SETFL, os.O_NONBLOCK)
notifier.socket_add(_thread_notifier_pipe[0],
_thread_notifier_run_queue)
if _thread_notifier_queue:
+ # A thread is already running and wanted to run something in the
+ # mainloop before the mainloop is started. In that case we need
+ # to wakeup the loop ASAP to handle the requests.
os.write(_thread_notifier_pipe[1], "1")
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog