pub fn attach(&self, value: *mut T) {
        self.inner
            .set(PgLwLockInner::<T>::new(self.get_name(), value))
            .expect("Can't attach, lock is not in an empty state");
    }
/// Attach an empty PgLwLock lock to a LWLock, and wrap T
Attach an empty PgLwLock lock to a LWLock, and wrap T
Attach an empty PgLwLock lock to a LWLock and wrap T
pub fn attach(&self, value: *mut T) {
        self.inner
            .set(PgLwLockInner::<T>::new(self.get_name(), value))
            .expect("Can't attach, lock is not in an empty state");
    }
pub fn attach ( & self , value : * mut T ) { self . inner . set ( PgLwLockInner :: < T > :: new ( self . get_name ( ) , value ) ) . expect ( " " ) ; }
Attach an empty PgLwLock lock to a LWLock, and wrap T
Attach an empty PgLwLock lock to a LWLock and wrap T
&self
value
*mut T
&self
value
*mut T