diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-01-18 15:06:15 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-01-18 15:06:30 +0100 |
commit | dee86dd5b06897ae3f5ae0107840f3fd2d3916ed (patch) | |
tree | 22c07c539d0b961789cf72cc9a3c3f0c993c9287 /test/benchmark-tcp-write-batch.c | |
parent | 52511b9ddca86afbb034b3db85ebcf4185c6e1eb (diff) | |
download | libuv-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