Re: fork
- From: Miguel de Icaza <miguel nuclecu unam mx>
- To: ollerot usa net
- CC: gnome-list gnome org
- Subject: Re: fork
- Date: Sun, 27 Dec 1998 19:34:15 -0600
> 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?
You need to close down all of your file descriptors after fork. The
problem is that both sides of the fork are now sharing the same file
descriptor that is used to talk to the X server.
Miguel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]