Re: Waiting forGMainLoop events



On Wed, 2013-06-26 at 18:43 -0400, Paul Davis wrote:
geez, does nobody read docs any more ?

Chill.

https://developer.gnome.org/glib/2.30/glib-The-Main-Event-Loop.html#g-main-context-pending

sorry wrong link. same page, near top, see "Customizing the main loop
iteration"

I am probably just not reading it right, but how can a caller use the
component functions to do what he is asking, namely check if there are
events, blocking until there are some, and doing so without polling?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part



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