Home
last modified time | relevance | path

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

/bionic/tests/
Dpthread_test.cpp914 struct RwlockWakeupHelperArg { struct
931 static void pthread_rwlock_wakeup_helper(RwlockWakeupHelperArg* arg) { in pthread_rwlock_wakeup_helper() argument
933 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_INITIALIZED, arg->progress); in pthread_rwlock_wakeup_helper()
934 arg->progress = RwlockWakeupHelperArg::LOCK_WAITING; in pthread_rwlock_wakeup_helper()
938 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_RELEASED, arg->progress); in pthread_rwlock_wakeup_helper()
941 arg->progress = RwlockWakeupHelperArg::LOCK_ACCESSED; in pthread_rwlock_wakeup_helper()
945 RwlockWakeupHelperArg wakeup_arg; in test_pthread_rwlock_reader_wakeup_writer()
948 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_INITIALIZED; in test_pthread_rwlock_reader_wakeup_writer()
957 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_WAITING, wakeup_arg.progress); in test_pthread_rwlock_reader_wakeup_writer()
959 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_RELEASED; in test_pthread_rwlock_reader_wakeup_writer()
[all …]