Using fork() in a GTK C/Vala application
- From: rastersoft <raster rastersoft com>
- To: gtk-app-devel-list gnome org
- Subject: Using fork() in a GTK C/Vala application
- Date: Tue, 1 Sep 2015 13:54:34 +0200
Hi all:
I'm working on a project which, for several reasons, will use the Posix
fork() call. The question is: if I have an active GTK main loop in the
program before calling fork(), is there something I have to do after
calling it in the child process? I know that I must NOT use Gtk calls in
the child, but should I quit the main loop in the child? Should I quit
before the Gtk main loop, create the child, and call it again? What can
I do to don't loose registered callbacks and so on?
Thanks.
--
Nos leemos
RASTER (Linux user #228804)
raster rastersoft com http://www.rastersoft.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]