Searched hist:123365 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.3-release/lib/libkse/thread/
H A Dthr_accept.cdiff 123365 Tue Dec 09 23:40:27 MST 2003 deischen accept() returns a file descriptor when it succeeds which is very
likely to be non-zero. When leaving the cancellation point, check
the return value against -1 to see if cancellation should be
checked. While I'm here, make the same change to connect() just
to be consisitent.

Pointed out by: davidxu
H A Dthr_connect.cdiff 123365 Tue Dec 09 23:40:27 MST 2003 deischen accept() returns a file descriptor when it succeeds which is very
likely to be non-zero. When leaving the cancellation point, check
the return value against -1 to see if cancellation should be
checked. While I'm here, make the same change to connect() just
to be consisitent.

Pointed out by: davidxu

Completed in 86 milliseconds