Static CLEANUP

Source
pub static CLEANUP: AtomicBool
Expand description

In a cleanup callback, this is set to true before calling wake, and false afterwards. This ensures that wake will not actually run the future, but instead cancel it and run its destructor.