diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-28 22:13:24 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-28 22:25:42 +0200 |
commit | e7aa1ba135d358a0c03c9bcb7157c86a6d9e95c5 (patch) | |
tree | 3c4283f1ff1fc36face4f921e05432fc5021952d /src/lib/instance_name.c | |
parent | 6aea30b730381af91300397a02e684a462bf55a7 (diff) | |
download | ouroboros-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/instance_name.c')
0 files changed, 0 insertions, 0 deletions