about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2013-07-30 21:38:44 -0400
committerBen Blum <bblum@andrew.cmu.edu>2013-07-31 14:37:22 -0400
commitbc7cee7bbf816be7a712c06a93015dc3c6fd5611 (patch)
tree2d4052b11459f0f8a2f4e8ccf98e3112c824b39b /src/libstd/rt
parent2e6dc161b6efac1ce2709ab4e1c05c55c01e3abf (diff)
downloadrust-bc7cee7bbf816be7a712c06a93015dc3c6fd5611.tar.gz
rust-bc7cee7bbf816be7a712c06a93015dc3c6fd5611.zip
Move atomically to unstable::sync, and document what it actually does. Close #7872.
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/kill.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/kill.rs b/src/libstd/rt/kill.rs
index e691bf51ea5..c2571f171a1 100644
--- a/src/libstd/rt/kill.rs
+++ b/src/libstd/rt/kill.rs
@@ -84,7 +84,7 @@ pub struct Death {
     on_exit:         Option<~fn(bool)>,
     // nesting level counter for task::unkillable calls (0 == killable).
     unkillable:      int,
-    // nesting level counter for task::atomically calls (0 == can yield).
+    // nesting level counter for unstable::atomically calls (0 == can yield).
     wont_sleep:      int,
     // A "spare" handle to the kill flag inside the kill handle. Used during
     // blocking/waking as an optimization to avoid two xadds on the refcount.