A racily-initialized alternative to OnceLock<Box<T>>.
OnceLock<Box<T>>
This is used to implement synchronization primitives that need allocation, like the pthread versions.