diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-06-29 09:46:35 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-06-30 22:34:16 -0700 |
| commit | 88900895562e0ab5e0642724fe9dd71eeda79a7a (patch) | |
| tree | 72d3f13632ddc99e0c71590e94f800cf4bf15b74 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | c1b8bd2d6fd4a00522635112d3f7b28501552a65 (diff) | |
| download | rust-88900895562e0ab5e0642724fe9dd71eeda79a7a.tar.gz rust-88900895562e0ab5e0642724fe9dd71eeda79a7a.zip | |
std: Avoid the WSA_FLAG_NO_HANDLE_INHERIT option
This was added after Windows 7 SP1, so it's not always available. Instead use the `SetHandleInformation` function to flag a socket as not inheritable. This is not atomic with respect to creating new processes, but it mirrors what Unix does with respect to possibly using the atomic option in the future. Closes #26543
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
