(&self, job_ref: JobRef, migrated: bool)
| 1509 | /// when the latch is set or more work becomes available. |
| 1510 | /// |
| 1511 | /// This function does not panic: jobs never allow panics from user code |
| 1512 | /// to escape their execution (see the panic convention on `JobRef`). |
| 1513 | #[inline(always)] |
| 1514 | pub fn wait_for(&self, latch: &Latch) -> bool { |
| 1515 | loop { |
| 1516 | match latch.check() { |
| 1517 | Status::Pending => { |
| 1518 | if self.yield_now() == Yield::Idle { |
no test coverage detected