void u_session_event_pop(struct u_session *us, union xrt_session_event *out_xse)
Pop a single event from this session, if no event is available then the type of the event will be XRT...
Definition: u_session.c:117
void u_session_event_push(struct u_session *us, const union xrt_session_event *xse)
Push an event to this session.
Definition: u_session.c:98
struct u_session * u_session_create(struct u_system *usys)
Create a session, optionally pass in a u_system.
Definition: u_session.c:73
Wrapper around OS threading native functions.
A wrapper around a native mutex.
Definition: os_threading.h:55
Struct used by u_session to queue up events.
Definition: u_session.h:25
This is a helper struct that fully implements xrt_session object.
Definition: u_session.h:40
struct xrt_session_event_sink sink
Pushes events to this session, used to share to other components.
Definition: u_session.h:44
struct u_system * usys
Owning system, optional.
Definition: u_session.h:47
A helper to implement a xrt_system, takes care of multiplexing events to sessions.
Definition: u_system.h:43
Used internally from producers of events to push events into session, some sinks might multiplex even...
Definition: xrt_session.h:206
The XRT representation of XrSession, this object does not have all of the functionality of a session,...
Definition: xrt_session.h:246
Union of all session events, used to return multiple events through one call.
Definition: xrt_session.h:186
Header for session object.