Home
last modified time | relevance | path

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

/bionic/tests/
Dpthread_test.cpp944 struct RwlockWakeupHelperArg { struct
961 static void pthread_rwlock_wakeup_helper(RwlockWakeupHelperArg* arg) { in pthread_rwlock_wakeup_helper() argument
963 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_INITIALIZED, arg->progress); in pthread_rwlock_wakeup_helper()
964 arg->progress = RwlockWakeupHelperArg::LOCK_WAITING; in pthread_rwlock_wakeup_helper()
968 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_RELEASED, arg->progress); in pthread_rwlock_wakeup_helper()
971 arg->progress = RwlockWakeupHelperArg::LOCK_ACCESSED; in pthread_rwlock_wakeup_helper()
975 RwlockWakeupHelperArg wakeup_arg; in test_pthread_rwlock_reader_wakeup_writer()
978 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_INITIALIZED; in test_pthread_rwlock_reader_wakeup_writer()
987 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_WAITING, wakeup_arg.progress); in test_pthread_rwlock_reader_wakeup_writer()
989 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_RELEASED; in test_pthread_rwlock_reader_wakeup_writer()
[all …]