mirror of
https://github.com/MariaDB/server.git
synced 2025-12-01 17:39:21 +03:00
The test case problem stemmed from the fact that a debug sync signal is a global variable that persists until overwritten by a new signal. This means that if two different signals are raised in sequence, a thread waiting for the first signal might miss it if the second signal sets the global variable before the thread wakes up. The solution is to deliver a subsequent signal only after the waiting thread has received it.
11 KiB
11 KiB