Home
last modified time | relevance | path

Searched refs:uv_rwlock_t (Results 1 – 8 of 8) sorted by relevance

/libuv/src/win/
H A Dthread.c307 STATIC_ASSERT(sizeof(uv_rwlock_t) == 80);
309 STATIC_ASSERT(sizeof(uv_rwlock_t) == 48);
312 int uv_rwlock_init(uv_rwlock_t* rwlock) { in uv_rwlock_init()
320 void uv_rwlock_destroy(uv_rwlock_t* rwlock) { in uv_rwlock_destroy()
326 void uv_rwlock_rdlock(uv_rwlock_t* rwlock) { in uv_rwlock_rdlock()
331 int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock) { in uv_rwlock_tryrdlock()
339 void uv_rwlock_rdunlock(uv_rwlock_t* rwlock) { in uv_rwlock_rdunlock()
344 void uv_rwlock_wrlock(uv_rwlock_t* rwlock) { in uv_rwlock_wrlock()
349 int uv_rwlock_trywrlock(uv_rwlock_t* rwlock) { in uv_rwlock_trywrlock()
357 void uv_rwlock_wrunlock(uv_rwlock_t* rwlock) { in uv_rwlock_wrunlock()
/libuv/docs/src/
H A Dthreading.rst35 .. c:type:: uv_rwlock_t
190 .. c:function:: int uv_rwlock_init(uv_rwlock_t* rwlock)
191 .. c:function:: void uv_rwlock_destroy(uv_rwlock_t* rwlock)
192 .. c:function:: void uv_rwlock_rdlock(uv_rwlock_t* rwlock)
193 .. c:function:: int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock)
194 .. c:function:: void uv_rwlock_rdunlock(uv_rwlock_t* rwlock)
195 .. c:function:: void uv_rwlock_wrlock(uv_rwlock_t* rwlock)
196 .. c:function:: int uv_rwlock_trywrlock(uv_rwlock_t* rwlock)
197 .. c:function:: void uv_rwlock_wrunlock(uv_rwlock_t* rwlock)
/libuv/src/unix/
H A Dthread.c369 int uv_rwlock_init(uv_rwlock_t* rwlock) { in uv_rwlock_init()
374 void uv_rwlock_destroy(uv_rwlock_t* rwlock) { in uv_rwlock_destroy()
380 void uv_rwlock_rdlock(uv_rwlock_t* rwlock) { in uv_rwlock_rdlock()
386 int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock) { in uv_rwlock_tryrdlock()
400 void uv_rwlock_rdunlock(uv_rwlock_t* rwlock) { in uv_rwlock_rdunlock()
406 void uv_rwlock_wrlock(uv_rwlock_t* rwlock) { in uv_rwlock_wrlock()
412 int uv_rwlock_trywrlock(uv_rwlock_t* rwlock) { in uv_rwlock_trywrlock()
426 void uv_rwlock_wrunlock(uv_rwlock_t* rwlock) { in uv_rwlock_wrunlock()
/libuv/test/
H A Dtest-mutexes.c30 static uv_rwlock_t rwlock;
74 uv_rwlock_t rwlock; in TEST_IMPL()
/libuv/docs/code/locks/
H A Dmain.c5 uv_rwlock_t numlock;
/libuv/include/uv/
H A Dunix.h135 typedef pthread_rwlock_t uv_rwlock_t; typedef
231 uv_rwlock_t cloexec_lock; \
H A Dwin.h275 } uv_rwlock_t; typedef
/libuv/include/
H A Duv.h1832 UV_EXTERN int uv_rwlock_init(uv_rwlock_t* rwlock);
1833 UV_EXTERN void uv_rwlock_destroy(uv_rwlock_t* rwlock);
1834 UV_EXTERN void uv_rwlock_rdlock(uv_rwlock_t* rwlock);
1835 UV_EXTERN int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock);
1836 UV_EXTERN void uv_rwlock_rdunlock(uv_rwlock_t* rwlock);
1837 UV_EXTERN void uv_rwlock_wrlock(uv_rwlock_t* rwlock);
1838 UV_EXTERN int uv_rwlock_trywrlock(uv_rwlock_t* rwlock);
1839 UV_EXTERN void uv_rwlock_wrunlock(uv_rwlock_t* rwlock);

Completed in 21 milliseconds