Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2007 10:49:05 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libutil pidfile.3 pidfile.c
Message-ID:  <200710151049.l9FAn5qv030884@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2007-10-15 10:49:05 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libutil          pidfile.3 pidfile.c 
  Log:
  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
  1.5.2.1   +5 -0      src/lib/libutil/pidfile.3
  1.7.2.1   +15 -1     src/lib/libutil/pidfile.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710151049.l9FAn5qv030884>