3 ms·
The problem is that this effects higher languages too, because they often build on libc. And on some OSes, they don't have a choice, because the system call int
by thayne 3y ago
The problem is that this effects higher languages too, because they often build on libc. And on some OSes, they don't have a choice, because the system call interface is unstable and/or undocumented).
For example in rust, multiple time libraries were found to be unsound if `std::env::set_env` was ever called from a multi-threaded program. See:
https://github.com/time-rs/time/issues/293 https://github.com/time-rs/time/issues/293 and https://github.com/chronotope/chrono/issues/499 https://github.com/chronotope/chrono/issues/499
https://github.com/rust-lang/rust/issues/27970 https://github.com/rust-lang/rust/issues/27970
https://github.com/rust-lang/rust/issues/90308 https://github.com/rust-lang/rust/issues/90308