[`TimeoutExecutor`] in [`timeout.rs`] is implemented with the same concurrency mechanism of method [`run_tests`] in [https://github.com/rust-lang/rust/blob/master/library/test/src/lib.rs].
If anyone feels uncomfortable, please feel free to contact us.