Re: glib main loop without gtk



How to exit the main loop? Stick this in a timer routine and execute it
when your ready to shutdown. --    g_main_loop_quit(main_loop); --

Also, the following link contains two daemons; a pure glib one, and a
pure libc one; including threads, etc...

http://mysite.verizon.net/skoona/sitebuildercontent/sitebuilderfiles/gdaemons-0.1.4.tar.bz2

James,



On Wed, 2008-11-12 at 15:20 -0600, Thomas Stover wrote:
So if one wants to use g_io_channels with out gtk (console / server 
app), what exactly is the idea? Does glib need an initialization 
function called first? I see the g_main_loop_new() and friends 
functions, and that part make sense. The thing is g_io_add_watch_full() 
type functions don't have a main loop parameter. In other words were 
does this "default" main loop come from?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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