[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: fork()/exec() dumping
- From: Andy Kahn <kahn zk3 dec com>
- To: Erik Mouw <J A K Mouw its tudelft nl>
- Cc: gtk-app-devel-list redhat com
- Subject: Re: fork()/exec() dumping
- Date: Wed, 23 Jun 1999 10:15:11 -0400
On Wed, Jun 23, 1999 at 08:54:24AM +0200, Erik Mouw wrote:
...
> The reason why in the original _exit() was called instead of exit(), is
> that exit() calls all the installed atexit() handlers, including the one
> that shuts down the X connection with the X display. So if the child calls
> exit(), it shuts down the parents X connection and the parent will no
> longer be able to display.
I think this particular explanation needs to be documented somewhere
(e.g., in a FAQ!). Otherwise, if this isn't someone's problem with
using fork(), exec(), etc., then they probably just need to check a
Unix systems programming book for what they're doing wrong.
regards,
--andy
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]