pub const TEST_THREADS: usize = 4;
A reasonable number of threads to use in tests: enough to reproduce nontrivial orderings if necessary and avoid blocking, but not too many.