Function abscissa_core::thread::should_terminate
source · [−]pub fn should_terminate() -> bool
Expand description
Check whether the currently running thread should exit, as signaled by
Thread::request_termination()
.
Panics if called outside a thread spawned by abscissa_core::Thread
.