diff options
author | pjd <pjd@FreeBSD.org> | 2011-10-16 21:30:15 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-10-16 21:30:15 +0000 |
commit | 770f64229ce141801d6971ceea42082015323a53 (patch) | |
tree | 7dd9db17078c6dc0d10bafacfead86efc28d0572 /sys/netinet/tcp_input.c | |
parent | 2cd40fe2b68029b4e3872631ccfea41808316a14 (diff) | |
download | FreeBSD-src-770f64229ce141801d6971ceea42082015323a53.zip FreeBSD-src-770f64229ce141801d6971ceea42082015323a53.tar.gz |
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
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions