Move RacyCell to std::comm

RacyCell is not exactly what we'd like as a final implementation for
this. Therefore, we're moving it under `std::comm` and also making it
private.
This commit is contained in:
Flavio Percoco 2014-12-22 12:29:46 +01:00
parent f436f9ca29
commit e2116c8fba
8 changed files with 61 additions and 47 deletions

View file

@ -9,7 +9,8 @@
// except according to those terms.
use std::kinds::marker;
use std::cell::{UnsafeCell, RacyCell};
use std::comm::RacyCell;
use std::cell::UnsafeCell;
struct MyUnsafe<T> {
value: RacyCell<T>