Author: dmeyer
Date: Tue Nov 20 07:19:32 2007
New Revision: 2905
Log:
check the queue after the pipe is created
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 07:19:32 2007
@@ -230,6 +230,8 @@
fcntl.fcntl(_thread_notifier_pipe[0], fcntl.F_SETFL, os.O_NONBLOCK)
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:
+ os.write(_thread_notifier_pipe[1], "1")
def _thread_notifier_run_queue(fd):
-------------------------------------------------------------------------
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