Home
last modified time | relevance | path

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

/development/ndk/platforms/android-3/include/linux/
Dspinlock.h50 #define _raw_read_lock(rwlock) __raw_read_lock(&(rwlock)->raw_lock) argument
51 #define _raw_read_trylock(rwlock) __raw_read_trylock(&(rwlock)->raw_lock) argument
52 #define _raw_read_unlock(rwlock) __raw_read_unlock(&(rwlock)->raw_lock) argument
53 #define _raw_write_lock(rwlock) __raw_write_lock(&(rwlock)->raw_lock) argument
54 #define _raw_write_trylock(rwlock) __raw_write_trylock(&(rwlock)->raw_lock) argument
55 #define _raw_write_unlock(rwlock) __raw_write_unlock(&(rwlock)->raw_lock) argument
57 #define read_can_lock(rwlock) __raw_read_can_lock(&(rwlock)->raw_lock) argument
58 #define write_can_lock(rwlock) __raw_write_can_lock(&(rwlock)->raw_lock) argument
/development/ndk/platforms/android-9/include/
Dpthread.h251 int pthread_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr);
252 int pthread_rwlock_destroy(pthread_rwlock_t *rwlock);
254 int pthread_rwlock_rdlock(pthread_rwlock_t *rwlock);
255 int pthread_rwlock_tryrdlock(pthread_rwlock_t *rwlock);
256 int pthread_rwlock_timedrdlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout);
258 int pthread_rwlock_wrlock(pthread_rwlock_t *rwlock);
259 int pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock);
260 int pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlock, const struct timespec *abs_timeout);
262 int pthread_rwlock_unlock(pthread_rwlock_t *rwlock);
/development/ndk/platforms/android-21/include/
Dpthread.h228 int pthread_rwlock_unlock(pthread_rwlock_t *rwlock) __nonnull((1));