3 ms·
It is possible to do this entirely in userspace without a custom scheduler. See the implementation here: https://github.com/ClickHouse/ClickHouse/blob/master/s
by zX41ZdbW 2y ago
It is possible to do this entirely in userspace without a custom scheduler.
See the implementation here: https://github.com/ClickHouse/ClickHouse/blob/master/src/Common/ThreadFuzzer.h https://github.com/ClickHouse/ClickHouse/blob/master/src/Com...
It works and makes significant improvements for the detection of concurrency bugs, including complex logical races in distributed scenarios.
- yencabulator 2y agoFor Rust, https://crates.io/crates/turmoil https://crates.io/crates/turmoil https://crates.io/crates/loom https://crates.io/crates/loom https://crates.io/crates/shuttle https://crates.io/crates/shuttle are interesting.
- ForOldHack 2y agoBugs? "It is possible to do this entirely in user space without a custom scheduler." Exactly.