We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
wait_for_jobs
1 parent ccd9af7 commit a8a202dCopy full SHA for a8a202d
compiler/rustc_thread_pool/src/registry.rs
@@ -800,6 +800,8 @@ impl WorkerThread {
800
unsafe { self.wait_or_steal_until(latch, false) };
801
}
802
803
+ // Wait until the latch is set. Executes local jobs if `is_job` is true for them and
804
+ // `all_jobs_started` still returns false.
805
#[inline]
806
pub(super) unsafe fn wait_for_jobs<L: AsCoreLatch + ?Sized, const BROADCAST_JOBS: bool>(
807
&self,
0 commit comments