Author: tack
Date: Sun Mar 11 22:01:57 2007
New Revision: 2551

Modified:
   trunk/epg/src/server.py

Log:
Remove unneeded decorator and add a comment that timers are always
called from the main loop so I don't get confused again. :)


Modified: trunk/epg/src/server.py
==============================================================================
--- trunk/epg/src/server.py     (original)
+++ trunk/epg/src/server.py     Sun Mar 11 22:01:57 2007
@@ -294,7 +294,6 @@
         return o["id"]
 
 
-    @kaa.notifier.execute_in_mainloop()
     def _handle_jobs(self):
         """
         Handle waiting add_program jobs.
@@ -321,7 +320,8 @@
             self._jobs.append((channel_db_id, start, stop, title, attributes))
             if len(self._jobs) == 1:
                 # Job added to (probably) empty queue, begin timer to handle 
jobs
-                # If timer is already running, this does nothing.
+                # If timer is already running, this does nothing.  Timers are
+                # implicitly called from the main loop.
                 self._jobs_timer.start(0.001)
             elif len(self._jobs) > 100:
                 # too many jobs pending, wait before adding new

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to