[−][src]Function padlock::get_rw_read_lock
pub fn get_rw_read_lock<T>(l: &RwLock<T>) -> RwLockReadGuard<T>
Get the RwLockReadGuard directly, aquired with a spinlock.
Important: Don't forget to drop the lock! Locks release themselfs when they go out of scope but the faster you drop it, the faster other threads get access.