Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

vipdestroycq.c File Reference

#include <stdlib.h>
#include "vipl_priv.h"

Go to the source code of this file.

Functions

VIP_ENTRY_POINT VIP_RETURN VipDestroyCQ (VIP_CQ_HANDLE CQHandle)


Detailed Description

The VI-GM function VipDestroyCQ implementation.

Definition in file vipdestroycq.c.


Function Documentation

VIP_ENTRY_POINT VIP_RETURN VipDestroyCQ VIP_CQ_HANDLE  CQHandle  ) 
 

VipDestroyCQ() destroys a specified Completion Queue. If any VI Work Queues are associated with the Completion Queue, the Completion Queue is not destroyed and an error is returned.

Return values:
VIP_SUCCESS The Completion Queue was successfully destroyed.
VIP_ERROR_RESOURCE The Completion Queue could not be destroyed because the Work Queues of one or more VI instances are still associated with it. The Completion Queue handle was invalid.
Parameters:
CQHandle (IN) The handle of the Completion Queue to be destroyed.
See also:
VipCreateCQ VipResizeCQ VIP_CQ
Author:
Patrick Geoffray
Version:
1.0

Definition at line 39 of file vipdestroycq.c.

References VIP_NIC::lock, VIP_ASSERT, VIP_NIC::vip_cq_set, VIP_DEBUG, VIP_DEBUG_LABEL, VIP_ERROR_RESOURCE, vip_free_handle(), VIP_INVALID_CQ_HANDLE, VIP_INVALID_PARAMETER, VIP_MUTEX_LOCK, VIP_MUTEX_UNLOCK, and VIP_SUCCESS.

VI-GM-1.3 by Myricom © 1997-2006. Documentation generated on 20 May 2006 by doxygen 1.4.4.