Home
last modified time | relevance | path

Searched hist:e8cc80c0a07bf3235090c7d32b7b6b746842eba8 (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libutil/
H A Dpidfile.3diff e8cc80c0a07bf3235090c7d32b7b6b746842eba8 Sun Oct 16 23:30:15 CEST 2011 Pawel Jakub Dawidek <pjd@FreeBSD.org> In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet)
and the caller requested other process' PID by passing non-NULL pidptr
argument, we will wait at most 100ms for the PID to show up in the file and if
it won't, we will store -1 in *pidptr.

From now on, pidfile_open() function never sets errno to EAGAIN on failure.

In collaboration with: des
MFC after: 1 week
H A Dpidfile.cdiff e8cc80c0a07bf3235090c7d32b7b6b746842eba8 Sun Oct 16 23:30:15 CEST 2011 Pawel Jakub Dawidek <pjd@FreeBSD.org> In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet)
and the caller requested other process' PID by passing non-NULL pidptr
argument, we will wait at most 100ms for the PID to show up in the file and if
it won't, we will store -1 in *pidptr.

From now on, pidfile_open() function never sets errno to EAGAIN on failure.

In collaboration with: des
MFC after: 1 week