summaryrefslogtreecommitdiff
path: root/src/lib/rw_lock.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-05-28 22:13:24 +0200
committerdimitri staessens <[email protected]>2016-05-28 22:25:42 +0200
commite7aa1ba135d358a0c03c9bcb7157c86a6d9e95c5 (patch)
tree3c4283f1ff1fc36face4f921e05432fc5021952d /src/lib/rw_lock.c
parent6aea30b730381af91300397a02e684a462bf55a7 (diff)
downloadouroboros-e7aa1ba135d358a0c03c9bcb7157c86a6d9e95c5.tar.gz
ouroboros-e7aa1ba135d358a0c03c9bcb7157c86a6d9e95c5.zip
lib: shm_ap_rbuff: sleep when read on empty rbuff
When the ring buffer is empty, a read call will sleep. A write call on an empty ring buffer will wake up sleeping readers.
Diffstat (limited to 'src/lib/rw_lock.c')
0 files changed, 0 insertions, 0 deletions