Pawel Jakub Dawidek e8cc80c0a0 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
2011-10-16 21:30:15 +00:00
..
2009-12-12 00:11:40 +00:00
2010-08-03 17:40:09 +00:00
2010-08-03 17:40:09 +00:00
2010-08-22 11:48:32 +00:00
2011-03-24 16:06:57 +00:00
2010-08-06 14:33:42 +00:00
2008-11-04 13:50:50 +00:00
2008-11-25 02:15:09 +00:00