diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2022-02-17 18:20:20 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2022-02-18 08:43:13 +0100 |
commit | 926e7d76cd290726fc0bccd00b58efda6f01b727 (patch) | |
tree | a0570902eba0a2785a03cf85003e76fa5b3db808 /src/irmd/tests/CMakeLists.txt | |
parent | 6804b725dcc99437e8dc1330447330b08e3c39b8 (diff) | |
download | ouroboros-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/tests/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions