pub fn with(name: &str, signal: Signal) -> Self {
        KObjectBase {
            id: Self::new_koid(),
            inner: Mutex::new(KObjectBaseInner {
                name: String::from(name),
                signal,
                ..Default::default()
            }),
        }
    }
/// Create a kernel object base with both signal and name
Create a kernel object base with both signal and name
Create a kernel object base with both signal and name
pub fn with(name: &str, signal: Signal) -> Self {
        KObjectBase {
            id: Self::new_koid(),
            inner: Mutex::new(KObjectBaseInner {
                name: String::from(name),
                signal,
                ..Default::default()
            }),
        }
    }
pub fn with ( name : & str , signal : Signal ) -> Self { KObjectBase { id : Self :: new_koid ( ) , inner : Mutex :: new ( KObjectBaseInner { name : String :: from ( name ) , signal , .. Default :: default ( ) } ) , } }
Create a kernel object base with both signal and name
Create a kernel object base with both signal and name
name
&str
signal
Signal
name
&str
signal
Signal