Lines Matching +full:acquisition +full:- +full:time
2 * Copyright 2010-2015 Samy Al Bahra.
49 unowned->previous = NULL; in ck_spinlock_clh_init()
50 unowned->wait = false; in ck_spinlock_clh_init()
63 r = ck_pr_load_uint(&head->wait); in ck_spinlock_clh_locked()
74 thread->wait = true; in ck_spinlock_clh_lock()
82 thread->previous = previous; in ck_spinlock_clh_lock()
86 while (ck_pr_load_uint(&previous->wait) == true) in ck_spinlock_clh_lock()
101 * acquisition. If the caller is pre-empted then the predecessor field in ck_spinlock_clh_unlock()
105 previous = thread[0]->previous; in ck_spinlock_clh_unlock()
111 ck_pr_store_uint(&(*thread)->wait, false); in ck_spinlock_clh_unlock()
116 * all the time in the world to successfully read updated wait flag. in ck_spinlock_clh_unlock()