Re: real POSIX.1b semaphores

Theodore Y. Ts'o (tytso@mit.edu)
Thu, 21 Nov 1996 18:11:30 -0500


From: Ulrich Drepper <drepper@myware.rz.uni-karlsruhe.de>
Date: 21 Nov 1996 00:29:16 +0100

One point still not clear is whether it's worth to create a
pseudo filesystem for the named semaphores. I would vote for it
and the standard author encourage this use. It would allow easy
maintenance of the semaphore namespace. Keeping all names in a
plane namespace (i.e., treating / as a normal character) would
be simpler but once the semaphores are implemented I would think
hundreds of semaphores used at the same time is easily possible.
How do you like a directory with hundreds of entries? The POSIX
people gave us this mean of structurization so me should use it.

I think we should as well; whatever solution we choose should also deal
with the other named entities that POSIX.1b provides (message queues,
shared memory segments, etc.)

- Ted