Re: Multithreading



On Tuesday, November 4, 2003, at 10:45 PM, Jens Wilke wrote:

    } elsif (defined $pid) { # $pid is zero here if defined
        # we are the child
        setsid( );
        if($d){print "Forking!\n"};
        if (defined $win) { $win->destroy; $win = undef }

er, you probably do not want to destroy the window in the child.


The program 'gtk-gallery' received an X Window System error.
This probably reflects a bug in the program.

"5.5. Why does this strange 'x io error' occur when I fork() in my GTK+ app?"
http://gtk.org/faq/#AEN522


--
muppet <scott at asofyet dot org>




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