Is the parking crate strictly necessary when the standard library is available? According to the docs, std::thread::park has been available since 1.0 and looking at it's implementation, it seems very similar in the generic case to parking's. It does seem to have per-platform optimizations too. An equivalent Unparker can be made wrapping a std::thread::Thread using Thread::unpark.
Is the
parking
crate strictly necessary when the standard library is available? According to the docs,std::thread::park
has been available since 1.0 and looking at it's implementation, it seems very similar in the generic case toparking
's. It does seem to have per-platform optimizations too. An equivalentUnparker
can be made wrapping astd::thread::Thread
usingThread::unpark
.