From bc7cee7bbf816be7a712c06a93015dc3c6fd5611 Mon Sep 17 00:00:00 2001 From: Ben Blum Date: Tue, 30 Jul 2013 21:38:44 -0400 Subject: Move atomically to unstable::sync, and document what it actually does. Close #7872. --- src/libstd/rt/kill.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/rt') 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. -- cgit 1.4.1-3-g733a5