pub struct EventWaitSet {
pub terms: Vec<EventTerm>,
pub rechecks_on_wake: bool,
}Expand description
WaitKind::Any is SV’s only real semantics; kept as an explicit list for
##N/repeat (scheduler.md).
Fields§
§terms: Vec<EventTerm>§rechecks_on_wake: booltrue for wait(expr): the resumed process re-checks its condition
before running on, so a wake delivered while the process was
suspended (process::suspend, LRM 9.7.4) can be parked and replayed
by resume() harmlessly. false for an @(...) event control,
where the LRM desensitises a suspended waiter: an event that fires
during the suspension is missed, not replayed.
Trait Implementations§
Source§impl Clone for EventWaitSet
impl Clone for EventWaitSet
Source§impl Debug for EventWaitSet
impl Debug for EventWaitSet
Auto Trait Implementations§
impl Freeze for EventWaitSet
impl RefUnwindSafe for EventWaitSet
impl Send for EventWaitSet
impl Sync for EventWaitSet
impl Unpin for EventWaitSet
impl UnsafeUnpin for EventWaitSet
impl UnwindSafe for EventWaitSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more