On 6/10/08, KwangYul Seo <[EMAIL PROTECTED]> wrote:
> Thanks for you reply.
>
> Manual event dispatching is good, but I want to avoid busy waiting which
> consumes CPU 100%. The problem is that I can't wait on both glib and pyglet
> event loops. Twisted seems to provide custom reactors such as gtk2reactor or
> glib2reactor which integrate gtk or glib event loops.  Is there a way to
> avoid busy waiting?

>From memory, GStreamer can also be pumped manually without an event
loop (it's multithreaded anyway, so you'd only need to pump for
events).  In this case you could use pyglet's event loop with a
scheduled function to check for GStreamer events (if you need them).

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to