Home
last modified time | relevance | path

Searched refs:Lock (Results 1 – 1 of 1) sorted by relevance

/DragonOS/user/apps/test-for-robustfutex/src/
H A Dmain.rs56 struct Lock { struct
60 impl Lock { impl
62 return Lock { addr }; in new()
76 unsafe impl Send for Lock {} implementation
77 unsafe impl Sync for Lock {} implementation
106 fn futex_wait(futexes: Futex, thread: &str, offset_futex: isize, lock: Lock, offset_count: isize) { in futex_wait() argument
156 fn futex_wake(futexes: Futex, thread: &str, offset_futex: isize, lock: Lock, offset_count: isize) { in futex_wake() argument
358 let locks = Lock::new(count); in test02()