about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-10-29 13:45:56 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-11-06 14:40:43 -0800
commit94aee5b7e6d1eda4c872133787ba238cbe29ecb4 (patch)
tree66464de207d82d7883827d66ea9b3a02a349b5c0 /src/libstd/sys/unix/stack_overflow.rs
parent01fd4d622746f03334a6543c1476e5e65712b1cc (diff)
downloadrust-94aee5b7e6d1eda4c872133787ba238cbe29ecb4.tar.gz
rust-94aee5b7e6d1eda4c872133787ba238cbe29ecb4.zip
std: Refactor process exit code handling slightly
* Store the native representation directly in the `ExitStatus` structure instead
  of a "parsed version" (mostly for Unix).
* On Windows, be more robust against processes exiting with the status of 259.
  Unfortunately this exit code corresponds to `STILL_ACTIVE`, causing libstd to
  think the process was still alive, causing an infinite loop. Instead the loop
  is removed altogether and `WaitForSingleObject` is used to wait for the
  process to exit.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions