summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_accept.c
Commit message (Collapse)AuthorAgeFilesLines
* accept() returns a file descriptor when it succeeds which is veryDaniel Eischen2003-12-091-1/+1
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=123365
* Add cancellation points for accept() and connect().Daniel Eischen2003-12-091-0/+49
Notes: svn path=/head/; revision=123355