Searched refs:ON_RT_THREAD (Results 1 – 1 of 1) sorted by relevance
31 static ON_RT_THREAD: Cell<bool> = Cell::new(false); in local_threadpool() constant34 ON_RT_THREAD.with(|cell| cell.set(true)); in local_threadpool()38 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool()40 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool()112 static ON_RT_THREAD: Cell<bool> = Cell::new(false); in local_threadpool_timer() constant115 ON_RT_THREAD.with(|cell| cell.set(true)); in local_threadpool_timer()119 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool_timer()121 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool_timer()123 assert!(ON_RT_THREAD.with(|cell| cell.get())); in local_threadpool_timer()136 static ON_RT_THREAD: Cell<bool> = Cell::new(false); in local_threadpool_blocking_in_place() constant[all …]