diff options
| author | Ben Blum <bblum@andrew.cmu.edu> | 2012-08-22 21:15:49 -0400 |
|---|---|---|
| committer | Ben Blum <bblum@andrew.cmu.edu> | 2012-08-22 21:16:35 -0400 |
| commit | 95bc9d4aef56d656e6dde057c0c9e8347b4d6e7e (patch) | |
| tree | 470b52351f008c6a3c87358c3976eddde4569fb1 /src/libstd | |
| parent | 9f0b3e316462eeb19cf5644316b57c5a3e8497d2 (diff) | |
export unwrap_arc functions in core/std
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/arc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/arc.rs b/src/libstd/arc.rs index 811c157498d..c45d5be4c0f 100644 --- a/src/libstd/arc.rs +++ b/src/libstd/arc.rs @@ -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; } |
