Add a comment for the wait_for_jobs function.
Co-authored-by: Zoxc <zoxc32@gmail.com>
This commit is contained in:
parent
0ceac216c9
commit
44e69f592f
1 changed files with 2 additions and 0 deletions
|
|
@ -800,6 +800,8 @@ impl WorkerThread {
|
|||
unsafe { self.wait_or_steal_until(latch, false) };
|
||||
}
|
||||
|
||||
// Wait until the latch is set. Executes local jobs if `is_job` is true for them and
|
||||
// `all_jobs_started` still returns false.
|
||||
#[inline]
|
||||
pub(super) unsafe fn wait_for_jobs<L: AsCoreLatch + ?Sized, const BROADCAST_JOBS: bool>(
|
||||
&self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue