Languages

Menu
Sites
Language
The Main Event Loop g_main

In native application development, when and why we use The Main Event Loop? can anyone give me some idea about this g_main thing

Responses

1 Replies
colin Rao

Hi, seems it's GMainLoop, a main event loop of glib. I am not familiar with the glib, from the Tizen IDE help demo code, seems it's just used to block the thread and waiting for the complete of an asynchronous function call.

I think you can get enough help on internet by search in google. :)

f.y.i.

https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html