rust/src/libnative
Alex Crichton 355c798ac3 native: Don't deadlock the runtime on spawn failure
Previously, the call to bookkeeping::increment() was never paired with a
decrement when the spawn failed (due to unwinding). This fixes the problem by
returning a "bomb" from increment() which will decrement on drop, and then
moving the bomb into the child task's procedure which will be dropped naturally.
2014-07-30 07:06:44 -07:00
..
io std: Stabilize unit, bool, ty, tuple, arc, any 2014-07-26 13:12:20 -07:00
lib.rs Update doc URLs for version bump 2014-07-11 11:21:57 -07:00
task.rs native: Don't deadlock the runtime on spawn failure 2014-07-30 07:06:44 -07:00