summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-12-23 01:24:33 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-08 17:55:00 (GMT)
commit4ffb0f8b45a5abd51a04a399461c9096019a87f8 (patch)
tree59eba1a3356d9a2fdb0beb587fe00589e41d6f57 /Source/CTest/cmCTestRunTest.cxx
parentf7f34a46e674fcf0326b0dbbc6dbb35c9e3c022f (diff)
downloadCMake-4ffb0f8b45a5abd51a04a399461c9096019a87f8.zip
CMake-4ffb0f8b45a5abd51a04a399461c9096019a87f8.tar.gz
CMake-4ffb0f8b45a5abd51a04a399461c9096019a87f8.tar.bz2
libuv: unix: restart syscalls interrupted by our signal handler
BSD `signal(2)` semantics make some system calls (e.g. for `write`) restartable when interrupted by a signal handler. Use `SA_RESTART` to enable these semantics everywhere that supports them. This is required by C++ stream libraries that interpret `EINTR` as any other error, set `badbit`, and stop writing. I've observed this with `libstdc++` during a `std::cout.flush()` call interrupted by `SIGCHLD`.
Diffstat (limited to 'Source/CTest/cmCTestRunTest.cxx')
0 files changed, 0 insertions, 0 deletions