diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-09-20 13:08:02 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2020-09-25 13:20:02 +0200 |
commit | 511e03a7f7b977ba52a19ab290254ca82320cb62 (patch) | |
tree | 0e24b58903dd6e9eeb5015583a2759a7806f206d /src/tools/irm/irm_unbind_process.c | |
parent | 1e3a9e464cbb2f02c057e9f63c1f270ff27530f4 (diff) | |
download | ouroboros-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/irm/irm_unbind_process.c')
0 files changed, 0 insertions, 0 deletions