home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / shell / 3106 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  792 b 

  1. Path: sparky!uunet!olivea!bu.edu!bumetb.bu.edu!tesco
  2. From: tesco@bumetb.bu.edu (Dances With Babes)
  3. Newsgroups: comp.unix.shell
  4. Subject: noclobber
  5. Message-ID: <91773@bu.edu>
  6. Date: 23 Jul 92 21:32:34 GMT
  7. References: <1992Jul21.070212.16485@gbrmpa.gov.au> <1992Jul22.014834.1384@jpradley.jpr.com> <1992Jul23.191928.4948@walter.bellcore.com>
  8. Sender: news@bu.edu
  9. Reply-To: tesco@bumetb.bu.edu (Dances With Babes)
  10. Followup-To: comp.unix.shell
  11. Organization: Boston University
  12. Lines: 9
  13.  
  14. Does anyone know if the "set -o noclobber" command is atomic?
  15. I'm trying to implement a semaphore in ksh, and this would be a good way,
  16. provided it's atomic (that it,  no two people can create the file at the same time).
  17.  
  18. If it's not atomic, anyone know of a good way
  19. to implement a semaphore using ksh?
  20.  
  21.  
  22. -tesco
  23.