Home
last modified time | relevance | path

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

/bionic/tests/
Dpthread_test.cpp915 struct RwlockWakeupHelperArg { struct
932 static void pthread_rwlock_wakeup_helper(RwlockWakeupHelperArg* arg) { in pthread_rwlock_wakeup_helper() argument
934 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_INITIALIZED, arg->progress); in pthread_rwlock_wakeup_helper()
935 arg->progress = RwlockWakeupHelperArg::LOCK_WAITING; in pthread_rwlock_wakeup_helper()
939 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_RELEASED, arg->progress); in pthread_rwlock_wakeup_helper()
942 arg->progress = RwlockWakeupHelperArg::LOCK_ACCESSED; in pthread_rwlock_wakeup_helper()
946 RwlockWakeupHelperArg wakeup_arg; in test_pthread_rwlock_reader_wakeup_writer()
949 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_INITIALIZED; in test_pthread_rwlock_reader_wakeup_writer()
958 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_WAITING, wakeup_arg.progress); in test_pthread_rwlock_reader_wakeup_writer()
960 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_RELEASED; in test_pthread_rwlock_reader_wakeup_writer()
[all …]