about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-06-02 01:55:22 -0700
committerBrian Anderson <banderson@mozilla.com>2013-06-13 23:18:45 -0700
commitabc3a8aa1e76f3ecc3930e20453a52681843cec0 (patch)
tree4bb0825a5c2df977c6238a7f9eaa64686284f3b3 /src/rt/rust_kernel.cpp
parentd83d38c7fe3408848664de66a9a53587f627a01b (diff)
downloadrust-abc3a8aa1e76f3ecc3930e20453a52681843cec0.tar.gz
rust-abc3a8aa1e76f3ecc3930e20453a52681843cec0.zip
std::rt: Add JoinLatch
This is supposed to be an efficient way to link the lifetimes
of tasks into a tree. JoinLatches form a tree and when `release`
is called they wait on children then signal the parent.

This structure creates zombie tasks which currently keep the entire
task allocated. Zombie tasks are supposed to be tombstoned but that
code does not work correctly.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions