home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v21 / 096 < prev    next >
Internet Message Format  |  1990-12-05  |  2KB

  1. From std-unix-request@uunet.uu.net  Tue Sep 11 14:22:38 1990
  2. Received: from cs.utexas.edu by uunet.uu.net (5.61/1.14) with SMTP 
  3.     id AA16709; Tue, 11 Sep 90 14:22:38 -0400
  4. Posted-Date: 11 Sep 90 03:23:35 GMT
  5. Received: by cs.utexas.edu (5.64/1.76) 
  6. From: jfh@rpp386.cactus.org (John F. Haugh II)
  7. Newsgroups: comp.std.unix
  8. Subject: Re: Standards Update, IEEE 1003.4: Real-time Extensions
  9. Message-Id: <502@usenix.ORG>
  10. References: <481@usenix.ORG> <495@usenix.ORG> <488@usenix.ORG> <491@usenix.ORG> <493@usenix.ORG> <479@usenix.ORG> <497@usenix.ORG>
  11. Sender: jsq@usenix.ORG
  12. Reply-To: jfh@rpp386.cactus.org (John F. Haugh II)
  13. Organization: Lone Star Cafe and BBS Service
  14. X-Submissions: std-unix@uunet.uu.net
  15. Date: 11 Sep 90 03:23:35 GMT
  16. To: std-unix@uunet.uu.net
  17.  
  18. From: jfh@rpp386.cactus.org (John F. Haugh II)
  19.  
  20. In article <497@usenix.ORG> swart@src.dec.com (Garret Swart) writes:
  21. >I believe in putting lots of interesting stuff in the file system name
  22. >space but I don't believe that semaphores belong there.  The reason
  23. >I don't want to put semaphores in the name space is the same reason
  24. >I don't want to put my program variables in the name space:  I want
  25. >to have lots of them, I want to create and destroy them very quickly
  26. >and I want to operate on them even more quickly.  In other words, the
  27. >granularity is wrong.
  28.  
  29. There is no requirement that you bind every semaphore handle to
  30. a file system name.  Only that the ability to take a semaphore
  31. handle and create a file system name or take a file system name
  32. entry and retreive a semaphore handle.  This would permit you to
  33. rapidly create and destroy semaphore for private use, as well as
  34. provide an external interface for public use.
  35.  
  36. There is no restriction in either case as to the speed which you
  37. can perform operations on the handle - file descriptors are
  38. associated with file system name entries in many cases and I've
  39. not seen anyone complain that file descriptors slow the system
  40. down.
  41. -- 
  42. John F. Haugh II                             UUCP: ...!cs.utexas.edu!rpp386!jfh
  43. Ma Bell: (512) 832-8832                           Domain: jfh@rpp386.cactus.org
  44. "SCCS, the source motel!  Programs check in and never check out!"
  45.         -- Ken Thompson
  46.  
  47. Volume-Number: Volume 21, Number 96
  48.  
  49.