rust/src/libstd/sync
bors 46957f0577 Auto merge of #36893 - apasel422:issue-32114, r=alexcrichton
Restore `DISCONNECTED` state in `oneshot::Packet::send`

Closes #32114

I'm not sure if this is the best approach, but the current action of swapping `DISCONNECTED` with `DATA` seems wrong. Additionally, it is strange that the `send` method (and others in the `oneshot` module) takes `&mut self` despite performing atomic operations, as this requires extra discipline to avoid data races and lets us use methods like `AtomicUsize::get_mut` instead of methods that require a memory ordering.
2016-10-05 18:10:34 -07:00
..
mpsc Auto merge of #36893 - apasel422:issue-32114, r=alexcrichton 2016-10-05 18:10:34 -07:00
barrier.rs Ignore lots and lots of std tests on emscripten 2016-09-30 14:02:48 -07:00
condvar.rs Ignore lots and lots of std tests on emscripten 2016-09-30 14:02:48 -07:00
mod.rs std: Clean out deprecated APIs 2016-07-12 12:51:13 -07:00
mutex.rs Ignore various entire test modules on emscripten 2016-09-30 14:02:56 -07:00
once.rs Ignore various entire test modules on emscripten 2016-09-30 14:02:56 -07:00
rwlock.rs Ignore various entire test modules on emscripten 2016-09-30 14:02:56 -07:00