kupl_event_destroy
Destroy an event.
Interface Definition
void kupl_event_destroy(kupl_event_h event);
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
event |
kupl_event_h |
Event object to be destroyed. |
Input |
Return Value
None
Examples
1 2 3 4 5 6 7 8 9 | #include <stdio.h> #include "kupl.h" int main() { kupl_event_h event = kupl_event_create(); kupl_event_destroy(event); return 0; } |
The preceding example demonstrates how to create and destroy an event. The kupl_event_destroy function destroys the event created by the kupl_event_create function.
Parent topic: Multi-queue Multi-stream Programming Functions