// Simplify dtor registration by using a list of destructors.
// The this solution works like the implementation of macOS and
// doesn't additional OS support
use cratemem;
static mut DTORS: = Vecnew;
pub unsafe
// every thread call this function to run through all possible destructors
pub unsafe