Home
last modified time | relevance | path

Searched refs:owner_thread (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/rayon-core/src/scope/
Dmod.rs291 in_worker(|owner_thread, _| { in scope()
292 let scope = Scope::<'scope>::new(owner_thread); in scope()
293 unsafe { scope.base.complete(owner_thread, || op(&scope)) } in scope()
382 in_worker(|owner_thread, _| { in scope_fifo()
383 let scope = ScopeFifo::<'scope>::new(owner_thread); in scope_fifo()
384 unsafe { scope.base.complete(owner_thread, || op(&scope)) } in scope_fifo()
389 fn new(owner_thread: &WorkerThread) -> Self { in new()
391 base: ScopeBase::new(owner_thread), in new()
466 fn new(owner_thread: &WorkerThread) -> Self { in new()
467 let num_threads = owner_thread.registry().num_threads(); in new()
[all …]
/external/toolchain-utils/crosperf/
Dbenchmark_run.py66 self.owner_thread = None
141 if self.owner_thread is not None:
161 if self.owner_thread is not None:
164 return self.owner_thread.dut()
203 if self.owner_thread is not None:
Dschedv2.py148 assert br.owner_thread is None
149 br.owner_thread = self
/external/rust/crates/rayon-core/src/
Dregistry.rs874 let owner_thread = WorkerThread::current(); in in_worker() localVariable
875 if !owner_thread.is_null() { in in_worker()
879 op(&*owner_thread, false) in in_worker()