Hrvoje Niksic wrote:
> However, wouldn't it be nice if Gtk+ supported a "quiet shutdown"
> routine that could be called by the child process?

You may have a hard time convincing the Gtk+ developers that such a
routine is necessary, as the "child exit" problem is not even limited to
X development.  I've had cases where I was writing data to a tape drive,
spawned a child to do something, the child called "exit", closing the
tape drive, and screwing up my backup.

I'm sure multi-threaded, networked database programmers have encountered
similar problems.

Calling "_exit" from children is the "correct" thing to do ( and had
RTFM'd, I would known that the os module had an _exit! ;-)

-- 
Richard Fish                      Enhanced Software Technologies, Inc.
Software Developer                4014 E Broadway Rd Suite 405
[EMAIL PROTECTED]                    Phoenix, AZ  85040 
(602) 470-1115                    http://www.estinc.com
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to