diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-03-10 11:53:31 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-03-10 13:01:23 +0100 |
commit | 9b6fdc1c2abe85008610063d800edf80e5011a4d (patch) | |
tree | 987604180db1a56e31dd7deb8c1f624951b0431a /src/nsmd | |
parent | d90f7f88d0c8cf3f96c10896f4c6fa4f6a138bf0 (diff) | |
download | ouroboros-0.10.6.tar.gz ouroboros-0.10.6.zip |
lib: Use PTHREAD_COND_CLOCK for blocking reads0.10.6
The rbuff uses the PTHREAD_COND_CLOCK for its condition variables, but
the flow_read was passing a time it got from the CLOCK_REALTIME_COARSE
clock. This causes the blocking reads not to timeout correctly.
The oping was updated to detect server timeouts and finish gracefully.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/nsmd')
0 files changed, 0 insertions, 0 deletions