package luv
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=669a8aaf7781de2f50a2767fbe7e97b13400b77decc993920c43d3fc2333a66b
md5=1b1665a64412af2a65587a6aa4a42d4a
doc/luv/Luv/Rwlock/index.html
Module Luv.Rwlock
Source
Read-write locks.
See Read-write locks in libuv.
Binds uv_rwlock_t
.
Allocates and initializes a read-write lock.
Binds uv_rwlock_init
. See pthread_rwlock_init(3p)
.
Cleans up a read-write lock.
Binds uv_rwlock_destroy
. See pthread_rwlock_destroy(3p)
.
Takes a read-write lock for reading (shared access).
Binds uv_rwlock_rdlock
. See pthread_rwlock_rdlock(3p)
.
Tries to take a read-write lock for reading without blocking.
Binds uv_rwlock_tryrdlock
. See pthread_rwlock_tryrdlock(3p)
.
Releases a read-write lock after it was taken for reading.
Binds uv_rwlock_rdunlock
. See pthread_rwlock_unlock(3p)
.
Takes a read-write lock for writing (exclusive access).
Binds uv_rwlock_wrlock
. See pthread_rwlock_wrlock(3p)
.
Tries to take a read-write lock for writing without blocking.
Releases a read-write lock after it was taken for writing.
Binds uv_rwlock_wrunlock
. See pthread_rwlock_unlock(3p)
.