pub fn isSet(event: *const Event) bool
Returns whether the logical boolean is true.
true
event: *const Event
1966 1967 1968 1969 1970 1971
pub fn isSet(event: *const Event) bool { return switch (@atomicLoad(Event, event, .acquire)) { .unset, .waiting => false, .is_set => true, }; }
Returns whether the logical boolean is
true.