summaryrefslogtreecommitdiff
path: root/src/tools/ocbr/ocbr.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-09-20 13:08:02 +0200
committerSander Vrijders <sander@ouroboros.rocks>2020-09-25 13:20:02 +0200
commit511e03a7f7b977ba52a19ab290254ca82320cb62 (patch)
tree0e24b58903dd6e9eeb5015583a2759a7806f206d /src/tools/ocbr/ocbr.c
parent1e3a9e464cbb2f02c057e9f63c1f270ff27530f4 (diff)
downloadouroboros-511e03a7f7b977ba52a19ab290254ca82320cb62.tar.gz
ouroboros-511e03a7f7b977ba52a19ab290254ca82320cb62.zip
tools: Improve locking in oping server
There was a dealloc() call in oping server under mutex, which could leave that mutex locked when the thread was cancelled, causing oping to hang on exit. This avoids calling dealloc under lock. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/ocbr/ocbr.c')
0 files changed, 0 insertions, 0 deletions