g_type_init (), GMainLoop and fork ()
- From: Tomasz Jankowski <tomcioj gmail com>
- To: gtk-app-devel-list gnome org
- Subject: g_type_init (), GMainLoop and fork ()
- Date: Thu, 14 Jul 2011 20:12:25 +0200
Hello!
I'm working on linux program, which works as background (daemon)
or foreground (regular) application. I would like to know if it's safe to
call g_type_init () and create instance of GMainLoop before fork (), so that
child process can properly use GObject system type and
run previously created GMainLoop loop?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]