Home | History | Annotate | Download | only in Support

Lines Matching refs:rwlock

52 // pthread_rwlock_init does have an address, then rwlock support is enabled.
66 pthread_rwlock_t* rwlock =
71 bzero(rwlock, sizeof(pthread_rwlock_t));
74 // Initialize the rwlock
75 int errorcode = pthread_rwlock_init(rwlock, NULL);
80 data_ = rwlock;
89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
90 assert(rwlock != 0);
91 pthread_rwlock_destroy(rwlock);
92 free(rwlock);
101 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
102 assert(rwlock != 0);
104 int errorcode = pthread_rwlock_rdlock(rwlock);
114 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
115 assert(rwlock != 0);
117 int errorcode = pthread_rwlock_unlock(rwlock);
127 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
128 assert(rwlock != 0);
130 int errorcode = pthread_rwlock_wrlock(rwlock);
140 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
141 assert(rwlock != 0);
143 int errorcode = pthread_rwlock_unlock(rwlock);