home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / wizards / 3633 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  1.1 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!corax.udac.uu.se!irfu.se!jhd
  2. From: jhd@irfu.se (Jan D.)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: flock(2) emulation?
  5. Message-ID: <1992Aug16.140235.11757@irfu.se>
  6. Date: 16 Aug 92 14:02:35 GMT
  7. References: <1992Aug7.173126.25686@htsa.aha.nl> <BsrzAp.7KD@ef2007.efhd.ford.com> <19480@fritz.filenet.com>
  8. Organization: Swedish Institute of Space Physics, Uppsala, Sweden
  9. Lines: 16
  10.  
  11. In article <19480@fritz.filenet.com> scotth@fritz.filenet.com (Scott Hopson) writes:
  12. >In article <BsrzAp.7KD@ef2007.efhd.ford.com> Mike O'Connor <mjo@fmsrl7.srl.ford.com> writes:
  13. >>In article <1992Aug7.173126.25686@htsa.aha.nl> miquels@htsa.aha.nl (Miquel van Smoorenburg) writes:
  14. >>
  15. >>:And for BSD or HPUX etc it makes no sense to implement a flock or lockf
  16. >>:emulation, since you already have the Real Thing (TM).
  17. >>
  18. >>H-pukes doesn't have flock().
  19. >
  20. >no but HPs do have lockf()
  21. >
  22. That doesn't help much, since a lot of programs use flock(). You can't
  23. fully emulate flock() with lockf() (shared locks). Nor can you do it
  24. with fcntl() since it differs from flock() with repect to fork().
  25.  
  26.     Jan D.
  27.