Vec<&YourTrait> not working?
Sync is just a compile-time safety check, saying you can't send types like &Rc between threads. The only sync cost is atomic refcount increment when you .clone() the Arc<..>, which should be once up front per thread. Locking always happens explicitly in Rust (mutex.lock()).
-
-
Unlike C++, where I once deadlocked the numpy C++ API b/c C++ implicitly locks a mutex while initializing static variables... never again
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD