global-ref
Overview
This crate is used to share references between functions through statics.
Because the implementation internally converts raw pointers to usize and shares them between threads, fetching references is essentially unsafe. If you use this crate, please verify its safety before using it.
Examples
use thread;
use GlobalMut;
License
MIT