about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorNODA, Kai <nodakai@gmail.com>2014-09-05 15:05:22 +0800
committerNODA, Kai <nodakai@gmail.com>2014-09-08 08:17:13 +0800
commit52e99cbcaaac8cfdd54ad8b237785b5e5cd84b48 (patch)
tree3cc49eb648b92afe170f8b2ec2e02e105de3b782 /src/rustllvm/ExecutionEngineWrapper.cpp
parent67b97ab6d2b7de9b69fd97dc171fcf8feec932ff (diff)
downloadrust-52e99cbcaaac8cfdd54ad8b237785b5e5cd84b48.tar.gz
rust-52e99cbcaaac8cfdd54ad8b237785b5e5cd84b48.zip
libnative/io: generic retry() for Unix 64 bit read/write().
Win32/WinSock APIs never call WSASetLastError() with WSAEINTR
unless a programmer specifically cancels the ongoing blocking call by
a deprecated WinSock1 API WSACancelBlockingCall().
So the errno check was simply removed and retry() became an id function
on Windows.
Note: Windows' equivalent of SIGINT is always handled in a separate thread:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682541%28v=vs.85%29.aspx
"CTRL+C and CTRL+BREAK Signals"

Also, incidentally rename a type parameter and clean up some module imports.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions