Christoph Rohland writes:
> And for the SYSV IPC case: Can you remove the segment after the last
> attach? Or is this a segment which should be connectable as long as
> the server is up? In the latter case you will need fd passing for
> shm_open/shm_unlink to hand the open fd to the other process.
As long as the X server is running, new clients can connect and shmat()
the segment. Therefore, yes, fd passing will be necessary. It's ugly
to need an AF_UNIX socket in order to use shared memory in a reasonable
way, and it will be ugly inside X because it breaks the transport
abstraction layer present in X, but it will be doable.
Bruno
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:21 EST