1 // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
12 * Concurrency-enabled mechanisms and primitives.
15 #[crate_id = "sync#0.10-pre"];
16 #[crate_type = "rlib"];
17 #[crate_type = "dylib"];
18 #[license = "MIT/ASL2"];
19 #[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
20 html_favicon_url = "http://www.rust-lang.org/favicon.ico",
21 html_root_url = "http://static.rust-lang.org/doc/master")];
23 #[deny(missing_doc, deprecated_owned_vector)];
26 #[phase(syntax, link)] extern crate log;
28 pub use comm::{DuplexStream, SyncSender, SyncReceiver, rendezvous, duplex};
29 pub use task_pool::TaskPool;
30 pub use future::Future;
31 pub use arc::{Arc, Weak};
32 pub use lock::{Mutex, MutexGuard, Condvar, Barrier,
33 RWLock, RWLockReadGuard, RWLockWriteGuard};
35 // The mutex/rwlock in this module are not meant for reexport
36 pub use raw::{Semaphore, SemaphoreGuard};