pub fn new(value: &'static AtomicI32) -> Arc<Self> {
        Arc::new(Futex {
            base: KObjectBase::default(),
            value,
            inner: Mutex::new(FutexInner::default()),
        })
    }
/// Create a new Futex.
///
/// The parameter `value` is the reference to
/// an userspace `AtomicI32`. This reference is the
/// information used in kernel to track what futex given threads are
/// waiting on. The kernel does not currently modify the value of
/// `*value`. It is up to userspace code to correctly atomically modify this
/// value across threads in order to build mutexes and so on.
Create a new Futex.
The parameter `value` is the reference to
an userspace `AtomicI32`. This reference is the
information used in kernel to track what futex given threads are
waiting on. The kernel does not currently modify the value of
`*value`. It is up to userspace code to correctly atomically modify this
value across threads in order to build mutexes and so on.
Create a new Futex . The parameter ` value ` is the reference to an userspace ` AtomicI32 ` . This reference is the information used in kernel to track what futex given threads are waiting on . The kernel does not currently modify the value of ` * value ` . It is up to userspace code to correctly atomically modify this value across threads in order to build mutexes and so on .
pub fn new(value: &'static AtomicI32) -> Arc<Self> {
        Arc::new(Futex {
            base: KObjectBase::default(),
            value,
            inner: Mutex::new(FutexInner::default()),
        })
    }
pub fn new ( value : & ' static AtomicI32 ) -> Arc < Self > { Arc :: new ( Futex { base : KObjectBase :: default ( ) , value , inner : Mutex :: new ( FutexInner :: default ( ) ) , } ) }
Create a new Futex.
Create a new Futex .
value
&'static AtomicI32
value
&'static AtomicI32