With your timing it's a bit hard for me to tell, but if I bump "interval" up to 3.0, then I see negligible CPU usage after initialization the entire time, whether something is scheduled or not. I'm on OS X 10.7.3 with pyglet from the repository about two months ago.
~ Nathan On Mon, Apr 9, 2012 at 12:38 PM, Rob McMullen <[email protected]> wrote: > Using linux and the xlib event loop, I'm seeing 100% cpu load when I > have any events scheduled. Once there are no more events scheduled, > the load drops down to zero. Sample program attached. > > I can't get pyglet to work in VirtualBox on WinXP so I'm not sure if > this is a platform-specific issue or not. Any ideas? > > Thanks, > > Rob > > -- > 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. > -- 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.
