aboutsummaryrefslogtreecommitdiff
path: root/test/benchmark-tcp-write-batch.c
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-01-18 15:06:15 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2012-01-18 15:06:30 +0100
commitdee86dd5b06897ae3f5ae0107840f3fd2d3916ed (patch)
tree22c07c539d0b961789cf72cc9a3c3f0c993c9287 /test/benchmark-tcp-write-batch.c
parent52511b9ddca86afbb034b3db85ebcf4185c6e1eb (diff)
downloadlibuv-dee86dd5b06897ae3f5ae0107840f3fd2d3916ed.tar.gz
libuv-dee86dd5b06897ae3f5ae0107840f3fd2d3916ed.zip
unix: don't retry close() on EINTR
Linux 2.6 always closes the file descriptor, even on EINTR. Retrying the close() call isn't merely useless, it's actively harmful - the file descriptor may have been acquired by another thread.
Diffstat (limited to 'test/benchmark-tcp-write-batch.c')
0 files changed, 0 insertions, 0 deletions