Glibmm, Giomm and daemon program
- From: Tomasz Jankowski <tomcioj gmail com>
 
- To: gtkmm-list gnome org
 
- Subject: Glibmm, Giomm and daemon program
 
- Date: Sun, 8 Nov 2009 13:16:03 +0100
 
Hello!
I'm working on daemon program, which use Glibmm and Giomm. I have to call few functions from Glib and Gio before I run fork(), so at the beginning of main function I call Glib::init() and Gio::init():
main()
{
Glib::init ();
Gio::init ();
// Here I use Glib::OptionContext etc
fork ();
// rest of code
}
I'd like to know if Glib::init() and Gio::init() do some "weird" things (like opening files) in background, which may cause problems, when I fork program.
Bye!
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]