Searched refs:uv_rwlock_t (Results 1 – 10 of 10) sorted by relevance
254 STATIC_ASSERT(sizeof(uv_rwlock_t) == 80);256 STATIC_ASSERT(sizeof(uv_rwlock_t) == 48);259 int uv_rwlock_init(uv_rwlock_t* rwlock) { in uv_rwlock_init()267 void uv_rwlock_destroy(uv_rwlock_t* rwlock) { in uv_rwlock_destroy()273 void uv_rwlock_rdlock(uv_rwlock_t* rwlock) { in uv_rwlock_rdlock()278 int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock) { in uv_rwlock_tryrdlock()286 void uv_rwlock_rdunlock(uv_rwlock_t* rwlock) { in uv_rwlock_rdunlock()291 void uv_rwlock_wrlock(uv_rwlock_t* rwlock) { in uv_rwlock_wrlock()296 int uv_rwlock_trywrlock(uv_rwlock_t* rwlock) { in uv_rwlock_trywrlock()304 void uv_rwlock_wrunlock(uv_rwlock_t* rwlock) { in uv_rwlock_wrunlock()
35 .. c:type:: uv_rwlock_t135 .. c:function:: int uv_rwlock_init(uv_rwlock_t* rwlock)136 .. c:function:: void uv_rwlock_destroy(uv_rwlock_t* rwlock)137 .. c:function:: void uv_rwlock_rdlock(uv_rwlock_t* rwlock)138 .. c:function:: int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock)139 .. c:function:: void uv_rwlock_rdunlock(uv_rwlock_t* rwlock)140 .. c:function:: void uv_rwlock_wrlock(uv_rwlock_t* rwlock)141 .. c:function:: int uv_rwlock_trywrlock(uv_rwlock_t* rwlock)142 .. c:function:: void uv_rwlock_wrunlock(uv_rwlock_t* rwlock)
376 int uv_rwlock_init(uv_rwlock_t* rwlock) { in uv_rwlock_init()381 void uv_rwlock_destroy(uv_rwlock_t* rwlock) { in uv_rwlock_destroy()387 void uv_rwlock_rdlock(uv_rwlock_t* rwlock) { in uv_rwlock_rdlock()393 int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock) { in uv_rwlock_tryrdlock()407 void uv_rwlock_rdunlock(uv_rwlock_t* rwlock) { in uv_rwlock_rdunlock()413 void uv_rwlock_wrlock(uv_rwlock_t* rwlock) { in uv_rwlock_wrlock()419 int uv_rwlock_trywrlock(uv_rwlock_t* rwlock) { in uv_rwlock_trywrlock()433 void uv_rwlock_wrunlock(uv_rwlock_t* rwlock) { in uv_rwlock_wrunlock()
30 static uv_rwlock_t rwlock;74 uv_rwlock_t rwlock; in TEST_IMPL()
5 uv_rwlock_t numlock;
136 typedef pthread_rwlock_t uv_rwlock_t; typedef232 uv_rwlock_t cloexec_lock; \
274 } uv_rwlock_t; typedef
1731 UV_EXTERN int uv_rwlock_init(uv_rwlock_t* rwlock);1732 UV_EXTERN void uv_rwlock_destroy(uv_rwlock_t* rwlock);1733 UV_EXTERN void uv_rwlock_rdlock(uv_rwlock_t* rwlock);1734 UV_EXTERN int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock);1735 UV_EXTERN void uv_rwlock_rdunlock(uv_rwlock_t* rwlock);1736 UV_EXTERN void uv_rwlock_wrlock(uv_rwlock_t* rwlock);1737 UV_EXTERN int uv_rwlock_trywrlock(uv_rwlock_t* rwlock);1738 UV_EXTERN void uv_rwlock_wrunlock(uv_rwlock_t* rwlock);
1707 UV_EXTERN int uv_rwlock_init(uv_rwlock_t* rwlock);1708 UV_EXTERN void uv_rwlock_destroy(uv_rwlock_t* rwlock);1709 UV_EXTERN void uv_rwlock_rdlock(uv_rwlock_t* rwlock);1710 UV_EXTERN int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock);1711 UV_EXTERN void uv_rwlock_rdunlock(uv_rwlock_t* rwlock);1712 UV_EXTERN void uv_rwlock_wrlock(uv_rwlock_t* rwlock);1713 UV_EXTERN int uv_rwlock_trywrlock(uv_rwlock_t* rwlock);1714 UV_EXTERN void uv_rwlock_wrunlock(uv_rwlock_t* rwlock);
28 uv_rwlock_t rwlock;