|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.6 Release For Test and Development only
|
Go to the documentation of this file.
11 #ifndef INCLUDED_NVSCIEVENT_H
12 #define INCLUDED_NVSCIEVENT_H
122 #define NV_SCI_EVENT_INFINITE_WAIT -1
123 #define NV_SCI_EVENT_PRIORITIES 4
130 typedef struct NvSciNativeEvent NvSciNativeEvent;
131 typedef struct NvSciLocalEvent NvSciLocalEvent;
132 typedef struct NvSciTimerEvent NvSciTimerEvent;
133 typedef struct NvSciEventLoop NvSciEventLoop;
207 NvSciNativeEvent* nativeEvent,
245 NvSciLocalEvent** newLocalEvent);
260 NvSciTimerEvent** newTimerEvent);
335 void (*callback)(
void* cookie),
403 size_t maxEventLoops,
427 NvSciEventLoop** eventLoop);
475 int64_t microseconds);
527 size_t eventNotifierCount,
528 int64_t microseconds,
529 bool* newEventArray);
NvSciError
Return/error codes for all NvSci functions.
An abstract interface to notify event to event consumer and to register event handler of the event co...
NvSciError NvSciEventLoopServiceCreate(size_t maxEventLoops, NvSciEventLoopService **newEventLoopService)
Creates a new event loop service.
NvSciError(* WaitForEvent)(NvSciEventNotifier *eventNotifier, int64_t microseconds)
Waits up to a configurable timeout for a particular event notification, servicing events with configu...
void(* Delete)(NvSciEventNotifier *thisEventNotifier)
Unregisters any previously-registered event handler and delete this event notifier.
NvSciError(* WaitForMultipleEvents)(NvSciEventNotifier *const *eventNotifierArray, size_t eventNotifierCount, int64_t microseconds, bool *newEventArray)
Waits up to a configurable timeout for any of a set of particular event notifications,...
NvSciEventService EventService
An abstract interface that event consumer can wait for events using event notifier in event loop.
void(* Delete)(NvSciEventService *thisEventService)
Releases any resources associated with this event service.
An abstract interface for a program's event handling infrastructure.