summaryrefslogtreecommitdiff
path: root/src/irmd/utils.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2022-02-17 18:20:20 +0100
committerSander Vrijders <sander@ouroboros.rocks>2022-02-18 08:43:13 +0100
commit926e7d76cd290726fc0bccd00b58efda6f01b727 (patch)
treea0570902eba0a2785a03cf85003e76fa5b3db808 /src/irmd/utils.h
parent6804b725dcc99437e8dc1330447330b08e3c39b8 (diff)
downloadouroboros-926e7d76cd290726fc0bccd00b58efda6f01b727.tar.gz
ouroboros-926e7d76cd290726fc0bccd00b58efda6f01b727.zip
irmd: Fix race condition in sanitize thread
Unlocking the flows while iterating could cause a modification during the iteration. Added pthread_cleanup handlers as the thread could get cancelled while holding a lock. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/utils.h')
0 files changed, 0 insertions, 0 deletions