Searched refs:Lock (Results 1 – 1 of 1) sorted by relevance
56 struct Lock { struct60 impl Lock { impl62 return Lock { addr }; in new()76 unsafe impl Send for Lock {} implementation77 unsafe impl Sync for Lock {} implementation106 fn futex_wait(futexes: Futex, thread: &str, offset_futex: isize, lock: Lock, offset_count: isize) { in futex_wait() argument156 fn futex_wake(futexes: Futex, thread: &str, offset_futex: isize, lock: Lock, offset_count: isize) { in futex_wake() argument358 let locks = Lock::new(count); in test02()