Github CI: run C++ tests in Valgrind
We had to fix some code to make the C++ test suite work in Valgrind:
- Increase timing toleration in MessagePassingTest.
- Have oxt::spin_lock yield the CPU once in a while. Otherwise the constant spin will starve other threads under Valgrind's scheduler. This also replaces all the platform-specific code with standard C++.
合并状态:已合并 合并于 2025-04-21 关闭于 2025-04-21 0 条评论