[][src]Function padlock::get_rw_write_lock

pub fn get_rw_write_lock<T>(l: &RwLock<T>) -> RwLockWriteGuard<T>

Get the RwLockWriteGuard 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.