Re: fork



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?

What's making it die?  Try putting a sleep(10) on one and sleep(20) on the
second process immediately after the fork, and see when it dies.  Are both
processes "returning" to make gtk calls?

Andrew Clausen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]