Re: X-connection after a fork

On Mon, 2 Oct 2000, Wolfgang Sourdeau wrote:

> La plume légère, à Mon, Oct 02, 2000 at 09:22:34PM -0400, heure d'inpiration,
> Havoc Pennington écrivait en ces mots:
> > No way that I can think of.
> > 
> > Havoc
> After a fork, the file descriptors stay open. So logically the connection
> to /tmp/.X11-unix/X? should be kept (as well as any current variables).
> Why isn't it therefore possible to have the same X client space for two
> parent processes ?

Because the X-server is not reentrant and requires a separate connection
for each thread/process, unless you use the locking stuff in glib (for



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