[446] in The GTK GIMP ToolKit mailing list archive
[gtk-list] gdk_fork() or the like ?
daemon@ATHENA.MIT.EDU (Adam D. Moss)
Tue Jul 8 05:10:45 1997
Date: Tue, 8 Jul 1997 10:00:56 GMT
From: "Adam D. Moss" <adam@uunet.pipex.com>
To: Ian Main <slow@intergate.bc.ca>
Cc: gtk-list@redhat.com
In-Reply-To: <Pine.LNX.3.96.970707211801.447B-100000@slow>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Ian Main writes:
> I'm just wandering what y'all think of a gtk/gdk (I figured gdk cause it's
> not really a widget thing..) fork call that will create a child that has
> no affiliation with X for doing multi-threaded programming.
I have only minimally forked around with 'threaded' X, but I think
that if you do an XSync just before you fork, then don't do anything
Xy in the forked process, you're safe. I'm sure that someone will
quicky correct me if I'm wrong. ;)
--Adam
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null