Re: [gtk-list] Re: forking inside a GTK+ app
- From: "Jason A. Pfeil" <pfeil nu cs fsu edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: forking inside a GTK+ app
- Date: Sun, 19 Jul 1998 18:59:53 -0400 (EDT)
If you are execing right after the fork, it doesn't matter anyway. The
new process space is destroyed and replaced by pgp.
y
On 19 Jul 1998, Georg Greve wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> "Brian C. Lane" <nexus@tatoosh.com> writes:
> > I'm sure this is a really dumb question. Is it possible to fork a
> > child process after having run gtk_main()? In XfreeCD I fork off child
> > processes before running gtk_main() and talk to them thru pipes, but in
> > my new app (mirage, a PGP clipboard encryption tool) I need to fork off
> > a pgp process from the main process at different times. Is this
> > possible?
> > Or do I need to fork a child before running gtk_main, then talk to
> > that child and tell it to fork off the pgp grandchild? Ick!
> > The other option is to use linuxthreads, but that would limit the app
> > to RH and debian users (and anyone who's threadsafed their other
> > distribution of course).
>
> I am doing it since version 1.3.0 of my Xlogmaster directly without
> any hesitations and I am having no problems at all.
>
> Later,
> Georg
>
> - --
> Georg C. F. Greve <greve@fusebox.hanse.de>
> http://porter.desy.de/~greve/ - ICQ#10016966
> "People who fight may lose. People who do not
> fight have already lost." -- Bertolt Brecht
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3i
> Charset: noconv
> Comment: Processed
>
> iQCVAwUBNbJg4FZXgZXDxqJtAQFjAwP/SZ5ShRDiEZ7PEOXYWtSKSuounWVlDOu2
> UUtbR1H/K3rp5zb9CrYgiyT+ItOqUVBuxiQP0ru/qSnxwRuJ2lxDl6yF5iq4KyJf
> zaf4rIwPAPK6Z4Ic4z0gSXOkga7b89VQWb1TEDIYY2LHByW+nT6fbhpgtYpetZre
> KdwKGQDmTxc=
> =JNL3
> -----END PGP SIGNATURE-----
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
-------------------------------------------------------------------------------
Jason A. Pfeil, Computer Science Graduate Student 101 Carothers Hall
http://www.cs.fsu.edu/~pfeil C3527 University Center
pfeil@cs.fsu.edu (850)644-8014
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]