diff options
Diffstat (limited to 'offload/liboffload/API/Event.td')
-rw-r--r-- | offload/liboffload/API/Event.td | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/offload/liboffload/API/Event.td b/offload/liboffload/API/Event.td index ea38b82..9d217ae 100644 --- a/offload/liboffload/API/Event.td +++ b/offload/liboffload/API/Event.td @@ -11,6 +11,19 @@ //===----------------------------------------------------------------------===// def : Function { + let name = "olCreateEvent"; + let desc = "Enqueue an event to `Queue` and return it."; + let details = [ + "This event can be used with `olSyncEvent` and `olWaitEvents` and will be complete once all enqueued work prior to the `olCreateEvent` call is complete.", + ]; + let params = [ + Param<"ol_queue_handle_t", "Queue", "queue to create the event for", PARAM_IN>, + Param<"ol_event_handle_t*", "Event", "output pointer for the created event", PARAM_OUT> + ]; + let returns = []; +} + +def : Function { let name = "olDestroyEvent"; let desc = "Destroy the event and free all underlying resources."; let details = []; |