diff options
| author | Brad King <brad.king@kitware.com> | 2017-12-23 01:24:33 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2018-01-08 17:55:00 (GMT) |
| commit | 4ffb0f8b45a5abd51a04a399461c9096019a87f8 (patch) | |
| tree | 59eba1a3356d9a2fdb0beb587fe00589e41d6f57 /Tests/FindPython/Python2 | |
| parent | f7f34a46e674fcf0326b0dbbc6dbb35c9e3c022f (diff) | |
| download | CMake-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 'Tests/FindPython/Python2')
0 files changed, 0 insertions, 0 deletions
