export unwrap_arc functions in core/std

This commit is contained in:
Ben Blum 2012-08-22 21:15:49 -04:00
parent 9f0b3e3164
commit 95bc9d4aef
2 changed files with 3 additions and 2 deletions

View file

@ -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; }