Author: dmeyer
Date: Sun Oct 28 17:05:14 2007
New Revision: 2886

Log:
fix bug to create _thread_notifier_pipe

Modified:
   trunk/base/src/notifier/reactor.py

Modified: trunk/base/src/notifier/reactor.py
==============================================================================
--- trunk/base/src/notifier/reactor.py  (original)
+++ trunk/base/src/notifier/reactor.py  Sun Oct 28 17:05:14 2007
@@ -33,6 +33,7 @@
 from twisted.internet import threadedselectreactor
 
 import kaa.notifier
+import kaa.notifier.thread
 
 class KaaReactor(threadedselectreactor.ThreadedSelectReactor):
     """
@@ -79,6 +80,10 @@
     """
     Configure the twisted mainloop to be run using the kaa reactor.
     """
+    # start internal wakeup queue
+    # FIXME: integrate this better
+    if not kaa.notifier.thread._thread_notifier_pipe:
+        kaa.notifier.thread._create_thread_notifier_pipe()
     reactor = KaaReactor()
     from twisted.internet.main import installReactor
     installReactor(reactor)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to