pub unsafe extern "C" fn k_event_post(
event: *mut k_event,
events: u32,
) -> u32
Expand description
@brief Post one or more events to an event object
This routine posts one or more events to an event object. All tasks waiting on the event object @a event whose waiting conditions become met by this posting immediately unpend.
Posting differs from setting in that posted events are merged together with the current set of events tracked by the event object.
@param event Address of the event object @param events Set of events to post to @a event
@retval Previous value of the events in @a event