[][src]Function rustc_rayon_core::current_thread_has_pending_tasks

pub fn current_thread_has_pending_tasks() -> Option<bool>

If called from a Rayon worker thread, indicates whether that thread's local deque still has pending tasks. Otherwise, returns None. For more information, see the ThreadPool::current_thread_has_pending_tasks() method.