[gtk-list] gdk_fork() or the like ?




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



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