Add some cancellation guard
We need to set a thread cancellation guard, because another thread may cancel the current thread at a really bad time (messages flush, mutex lock) Fixes: #4127
Showing
- src/lib/core/cbus.c 22 additions, 0 deletionssrc/lib/core/cbus.c
- src/tt_pthread.h 5 additions, 0 deletionssrc/tt_pthread.h
- test/unit/CMakeLists.txt 5 additions, 0 deletionstest/unit/CMakeLists.txt
- test/unit/cbus_hang.c 187 additions, 0 deletionstest/unit/cbus_hang.c
- test/unit/cbus_hang.result 4 additions, 0 deletionstest/unit/cbus_hang.result
Loading
Please register or sign in to comment