9668ab58f3
When using tasks in Rust, the expectation is that the runtime does not exit before all tasks have exited. This is enforced in libgreen through the `SchedPool` type, and it is enforced in libnative through a `bookkeeping` module and a global count/mutex pair. Unfortunately, this means that a process which originates with libgreen will not wait for spawned native tasks. In order to fix this problem, the bookkeeping module was moved from libnative to libstd so the runtime itself can wait for native tasks to exit. Green tasks do not manage themselves through this bookkeeping module, but native tasks will continue to manage themselves through this module. Closes #12684 |
||
---|---|---|
.. | ||
addrinfo.rs | ||
file_unix.rs | ||
file_win32.rs | ||
mod.rs | ||
net.rs | ||
pipe_unix.rs | ||
pipe_win32.rs | ||
process.rs | ||
timer_helper.rs | ||
timer_other.rs | ||
timer_timerfd.rs | ||
timer_win32.rs |