Re: gtk_events_pending() seems to spin sometimes?



> I imagine select() doesn't block too long because my program is keeping
> the cpu so busy.  Is it possible I'm screwing up my environment somehow
> that's causing this breakage?  Am I using gtk_events_pending()
> incorrectly?  What should I look for?

Is this a threaded application? If so, you should check the
gdk_thread_leave/gdk_thread_enter balance and usage.

Stian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]