cvs commit: src/lib/libutil pidfile.3 pidfile.c

Konstantin Belousov kib at
Mon Oct 15 03:49:06 PDT 2007

kib         2007-10-15 10:49:05 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libutil          pidfile.3 pidfile.c 
  MFC rev. 1.6, 1.7 of src/lib/libutil/pidfile.3,
  rev. 1.8 of src/lib/libutil/pidfile.c:
  When pidfile is already locked and has zero length, do not return
  success and zero pid from pidfile_read(). Return EAGAIN instead. Sleep
  up to three times for 5 ms while waiting for pidfile to be written.
  Approved by:    re (kensmith)
  Revision  Changes    Path   +5 -0      src/lib/libutil/pidfile.3   +15 -1     src/lib/libutil/pidfile.c

More information about the cvs-src mailing list