kupl_queue_destroy
Destroy a KUPL queue.
Interface Definition
void kupl_queue_destroy(kupl_queue_h queue);
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
queue |
kupl_queue_h |
Queue 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_queue_h queue = kupl_queue_create(); kupl_queue_destroy(queue); return 0; } |
The preceding example demonstrates how to create and destroy a queue. The kupl_queue_destroy function destroys the queue created by the kupl_queue_create function.
Parent topic: Multi-queue Multi-stream Programming Functions