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>2016-02-03 18:09:35 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-02-10 09:28:48 -0800
commit627515a7ff4fe12084d7e95969bda307849b4d0e (patch)
treeafbfe3723becc8e32d58cf7668fb066a063b8daf /src/libstd/sys/unix/stack_overflow.rs
parentb1898db0f10f9641c7616e93499348d4fe743ddd (diff)
downloadrust-627515a7ff4fe12084d7e95969bda307849b4d0e.tar.gz
rust-627515a7ff4fe12084d7e95969bda307849b4d0e.zip
std: Push Child's exit status to sys::process
On Unix we have to be careful to not call `waitpid` twice, but we don't have to
be careful on Windows due to the way process handles work there. As a result the
cached `Option<ExitStatus>` is only necessary on Unix, and it's also just an
implementation detail of the Unix module.

At the same time. also update some code in `kill` on Unix to avoid a wonky
waitpid with WNOHANG. This was added in 0e190b9a to solve #13124, but the
`signal(0)` method is not supported any more so there's no need to for this
workaround. I believe that this is no longer necessary as it's not really doing
anything.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions