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:
parent
f436f9ca29
commit
e2116c8fba
8 changed files with 61 additions and 47 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue