#![allow(missing_docs)]
#![allow(missing_debug_implementations)]
+#[cfg(test)]
+mod tests;
+
use crate::sync::Once;
use crate::sys;
pub mod thread_info;
pub mod thread_local_dtor;
pub mod thread_local_key;
+pub mod thread_parker;
pub mod util;
pub mod wtf8;
// r < denom, so (denom*numer) is the upper bound of (r*numer)
q * numer + r * numer / denom
}
-
-#[test]
-fn test_muldiv() {
- assert_eq!(mul_div_u64(1_000_000_000_001, 1_000_000_000, 1_000_000), 1_000_000_000_001_000);
-}