After some private discussions and testing, I've given up trying to fix this issue and reverted most of the changes made by 4f2228fb1d7527fb5ebc8b2d747c309f1dd7698d (excluding some in unit tests) with f1cbe93b6c0a8607a7e3cfb732c0eece7c64a029. I've also marked the new tests in epicsEventTest as TODOs. This will have to wait for someone with time and access to a test system to sort out.
After some private discussions and testing, I've given up trying to fix this issue and reverted most of the changes made by 4f2228fb1d7527f b5ebc8b2d747c30 9f1dd7698d (excluding some in unit tests) with f1cbe93b6c0a860 7a7e3cfb732c0ee ce7c64a029. I've also marked the new tests in epicsEventTest as TODOs. This will have to wait for someone with time and access to a test system to sort out.