pub fn from_named(input_name: &'static str, value: *mut T) -> Self {
        let inner = OnceCell::new();
        let name = OnceCell::new();
        inner
            .set(PgLwLockInner::<T>::new(input_name, value))
            .unwrap();
        name.set(input_name).unwrap();
        PgLwLock { inner, name }
    }
/// Create a new lock for T by attaching a LWLock, which is looked up by name
Create a new lock for T by attaching a LWLock, which is looked up by name
Create a new lock for T by attaching a LWLock which is looked up by name
pub fn from_named(input_name: &'static str, value: *mut T) -> Self {
        let inner = OnceCell::new();
        let name = OnceCell::new();
        inner
            .set(PgLwLockInner::<T>::new(input_name, value))
            .unwrap();
        name.set(input_name).unwrap();
        PgLwLock { inner, name }
    }
pub fn from_named ( input_name : & ' static str , value : * mut T ) -> Self { let inner = OnceCell :: new ( ) ; let name = OnceCell :: new ( ) ; inner . set ( PgLwLockInner :: < T > :: new ( input_name , value ) ) . unwrap ( ) ; name . set ( input_name ) . unwrap ( ) ; PgLwLock { inner , name } }
Create a new lock for T by attaching a LWLock, which is looked up by name
Create a new lock for T by attaching a LWLock which is looked up by name
input_name
&'static str
value
*mut T
input_name
&'static str
value
*mut T