Searched refs:pthread_rwlock_internal_t (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_rwlock.cpp157 struct pthread_rwlock_internal_t { struct
214 static_assert(sizeof(pthread_rwlock_t) == sizeof(pthread_rwlock_internal_t),
215 "pthread_rwlock_t should actually be pthread_rwlock_internal_t in implementation.");
220 "pthread_rwlock_t should fulfill the alignment requirement of pthread_rwlock_internal_t.");
222 static inline __always_inline pthread_rwlock_internal_t* __get_internal_rwlock(pthread_rwlock_t* rwlock_interface) {
223 return reinterpret_cast<pthread_rwlock_internal_t*>(rwlock_interface);
227 pthread_rwlock_internal_t* rwlock = __get_internal_rwlock(rwlock_interface);
229 memset(rwlock, 0, sizeof(pthread_rwlock_internal_t));
255 pthread_rwlock_internal_t* rwlock = __get_internal_rwlock(rwlock_interface);
272 static inline __always_inline int __pthread_rwlock_tryrdlock(pthread_rwlock_internal_t* rwloc
[all...]

Completed in 225 milliseconds