I apologize in advance for the somewhat provocative subject.  Is the sched
module still appropriate in an increasingly event-driven world?  If so, can
someone suggest how it might be used with a non-blocking delay function such
as gobject.timeout_add?  It would be nice to either remark in the
documentation that the sched module doesn't play nice with event-driven
architectures or provide an example of how it can.  It doesn't seem to be
possible without resorting to threads (not generally a big problem, but not
always the best choice either, depending on the environment in which you
find yourself).  The delayfunc is called and when it finishes, the action
function is called.

Thx,

Skip
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to