home *** CD-ROM | disk | FTP | other *** search
- From: jfh@rpp386.cactus.org (John F. Haugh II)
-
- In article <497@usenix.ORG> swart@src.dec.com (Garret Swart) writes:
- >I believe in putting lots of interesting stuff in the file system name
- >space but I don't believe that semaphores belong there. The reason
- >I don't want to put semaphores in the name space is the same reason
- >I don't want to put my program variables in the name space: I want
- >to have lots of them, I want to create and destroy them very quickly
- >and I want to operate on them even more quickly. In other words, the
- >granularity is wrong.
-
- There is no requirement that you bind every semaphore handle to
- a file system name. Only that the ability to take a semaphore
- handle and create a file system name or take a file system name
- entry and retreive a semaphore handle. This would permit you to
- rapidly create and destroy semaphore for private use, as well as
- provide an external interface for public use.
-
- There is no restriction in either case as to the speed which you
- can perform operations on the handle - file descriptors are
- associated with file system name entries in many cases and I've
- not seen anyone complain that file descriptors slow the system
- down.
- --
- John F. Haugh II UUCP: ...!cs.utexas.edu!rpp386!jfh
- Ma Bell: (512) 832-8832 Domain: jfh@rpp386.cactus.org
- "SCCS, the source motel! Programs check in and never check out!"
- -- Ken Thompson
-
- Volume-Number: Volume 21, Number 96
-
-