Home
last modified time | relevance | path

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

/components/libc/posix/pthreads/
A Dpthread_rwlock.c81 if (!rwlock) in pthread_rwlock_init()
125 if (!rwlock) in pthread_rwlock_destroy()
201 if (!rwlock) in pthread_rwlock_rdlock()
210 while (rwlock->rw_refcount < 0 || rwlock->rw_nwaitwriters > 0) in pthread_rwlock_rdlock()
257 if (!rwlock) in pthread_rwlock_tryrdlock()
265 if (rwlock->rw_refcount < 0 || rwlock->rw_nwaitwriters > 0) in pthread_rwlock_tryrdlock()
310 if (!rwlock) in pthread_rwlock_timedrdlock()
374 if (!rwlock) in pthread_rwlock_timedwrlock()
430 if (!rwlock) in pthread_rwlock_trywrlock()
475 if (!rwlock) in pthread_rwlock_unlock()
[all …]
A Dpthread.h252 int pthread_rwlock_init (pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr);
253 int pthread_rwlock_destroy (pthread_rwlock_t *rwlock);
255 int pthread_rwlock_rdlock (pthread_rwlock_t *rwlock);
256 int pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock);
258 int pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock, const struct timespec *abstime);
259 int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock, const struct timespec *abstime);
261 int pthread_rwlock_unlock (pthread_rwlock_t *rwlock);
263 int pthread_rwlock_wrlock (pthread_rwlock_t *rwlock);
264 int pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock);

Completed in 6 milliseconds