Re: fork
- From: James Henstridge <james daa com au>
- To: Jeff Garzik <jgarzik pobox com>
- cc: Andrew Clausen <clausen alphalink com au>, ollerot usa net, gnome-list gnome org
- Subject: Re: fork
- Date: Thu, 24 Dec 1998 09:30:16 +0800 (WST)
Also, you must use _exit() to exit the child process, as exit() performs
some cleanups that should only be performed by the parent.
James Henstridge.
--
Email: james@daa.com.au
WWW: http://www.daa.com.au/~james/
On Wed, 23 Dec 1998, Jeff Garzik wrote:
> > Andrea Bosio wrote:
> >
> > > Hello all.
> > >
> > > Why can't I fork in my gnome applications?
> > >
> > > After a fork I get a lot of:
> > > Xlib: unexpected async reply (sequence 0x15a)!
> > > and normally the app crashes.
> > >
> > > How can I do something like a fork in a gnome app?
>
> When you fork, you dup all the X fds. Are you trying to do X calls in
> the child?
>
> Jeff
>
>
>
>
>
> --
> FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> To unsubscribe: mail gnome-list-request@gnome.org with
> "unsubscribe" as the Subject.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]