Consider a module sync that's a module of the extra crate. Suppose one had sync.rs be the following (and there were appropriate file within the sync folder defining the submodules.)
pub use unlock::Unlock;
pub use arc::Arc;
pub use wait_queue::WaitQueue;
pub use condition::Condition;
pub use semaphore::Semaphore;
pub use mutex::Mutex;
pub use rwlock::RWLock;
pub use shared_mut::mutex_arc::MutexArc;
pub use shared_mut::rwarc::RWArc;
These types should be reexported as part of sync.
Consider a module sync that's a module of the extra crate. Suppose one had sync.rs be the following (and there were appropriate file within the sync folder defining the submodules.)
These types should be reexported as part of sync.