home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.21 / text0067.txt < prev    next >
Encoding:
Internet Message Format  |  1990-10-26  |  1.8 KB

  1. From:  sp@mysteron.osf.org (Simon Patience)
  2.  
  3. In article <467@usenix.ORG> chip@tct.uucp (Chip Salzenberg) writes:
  4. >From:  chip@tct.uucp (Chip Salzenberg)
  5. >
  6. >>     Finally, the group accepted abandoning the use of
  7. >>     file descriptors for semaphore handles, but some participants
  8. >>     wanted to keep semaphore names pathnames.
  9. >
  10. >Aargh!  Almost everyone realizes that System V IPC is a botch, largely
  11. >because it doesn't live in the filesystem.  So what does IEEE do?
  12. >They take IPC out of the filesystem!
  13. >
  14. >What sane reason could there be to introduce Yet Another Namespace?
  15.  
  16. The reason for semaphores not being in the file system is twofold. Some
  17. realtime embedded systems do not have a file system but do want semaphores
  18. So this allows them to have them without having to bring in the baggage a
  19. file system would entail. Secondly, as far as threads, which are supposed to
  20. be light weight, are concerned it allows semaphores to be implmented in user
  21. space rather than forcing them into the kernel for the file system.
  22.  
  23. A good reason for *not* having IPC handles in the file system is to allow
  24. network IPC to use the same interfaces. If you have IPC handles in the
  25. file system then two machines who have applications trying to communicate
  26. would also have to have at least part of their file system name space to
  27. be shared. This is non trivial to arrange for two machines so can you
  28. imaging the problem of doing this for 100 (or 1000?) machines.
  29.  
  30. I am just the messenger for these views and do not necessarily hold them
  31. myself. They were the reasons that came up during the discussion.
  32.  
  33. Simon.
  34.  
  35.   Simon Patience                Phone: (617) 621-8736
  36.   Open Software Foundation            FAX:   (617) 225-2782
  37.   11 Cambridge Center                Email: sp@osf.org
  38.   Cambridge MA 02142                       uunet!osf.org!sp
  39.  
  40. Volume-Number: Volume 21, Number 68
  41.  
  42.