Function rayon_core::current_thread_has_pending_tasks [−][src]
pub fn current_thread_has_pending_tasks() -> Option<bool>
Expand description
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.