export unwrap_arc functions in core/std
This commit is contained in:
parent
9f0b3e3164
commit
95bc9d4aef
@ -6,7 +6,7 @@ export transmute_mut, transmute_immut, transmute_region, transmute_mut_region;
|
||||
export SharedMutableState, shared_mutable_state, clone_shared_mutable_state;
|
||||
export get_shared_mutable_state, get_shared_immutable_state;
|
||||
export unwrap_shared_mutable_state;
|
||||
export Exclusive, exclusive;
|
||||
export Exclusive, exclusive, unwrap_exclusive;
|
||||
|
||||
import task::atomically;
|
||||
|
||||
|
@ -13,8 +13,9 @@ import sync;
|
||||
import sync::{mutex, mutex_with_condvars, rwlock, rwlock_with_condvars};
|
||||
|
||||
export arc, clone, get;
|
||||
export condvar, mutex_arc, mutex_arc_with_condvars;
|
||||
export condvar, mutex_arc, mutex_arc_with_condvars, unwrap_mutex_arc;
|
||||
export rw_arc, rw_arc_with_condvars, rw_write_mode, rw_read_mode;
|
||||
export unwrap_rw_arc;
|
||||
|
||||
/// As sync::condvar, a mechanism for unlock-and-descheduling and signalling.
|
||||
struct condvar { is_mutex: bool; failed: &mut bool; cond: &sync::condvar; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user