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

VIP_CQ Struct Reference

#include <vipl_structs.h>


Data Fields

VIP_HANDLE handle
VIP_CQ_ENTRYqueue
VIP_UINT32 count
VIP_UINT32 next_poll
VIP_UINT32 next_completion
VIP_UINT32 event_count
VIP_EVENT_T event
VIP_SEMAPHORE_T notify_tokens
VIP_BOOLEAN notify_initialized
VIP_BOOLEAN notify_cancelled
VIP_THREAD_T notify_thread
VIP_NOTIFYfirst_notify_handler
VIP_NOTIFYlast_notify_handler


Detailed Description

Structure related to a VI-GM completion queue.

Definition at line 249 of file vipl_structs.h.


Field Documentation

VIP_HANDLE VIP_CQ::handle
 

Common set of fields used by all handles.

Definition at line 252 of file vipl_structs.h.

Referenced by vip_cq_notify_thread(), vip_destroy_cq_handle_set(), vip_destroy_vi_handle_set(), and VipCreateVi().

VIP_CQ_ENTRY* VIP_CQ::queue
 

Completion queue itself, bounded array of completion queue entries.

Definition at line 254 of file vipl_structs.h.

Referenced by vip_is_first_cq_entry_notified(), vip_notify_desc_completion(), vip_vi_transition_to_error_state(), and VipCreateCQ().

VIP_UINT32 VIP_CQ::count
 

Number of entries in the completion queue.

Definition at line 256 of file vipl_structs.h.

Referenced by vip_notify_desc_completion(), vip_vi_transition_to_error_state(), and VipCreateCQ().

VIP_UINT32 VIP_CQ::next_poll
 

Index of the entry at the top of the queue, i.e. the entry to be polled by the VI consumer.

Definition at line 259 of file vipl_structs.h.

Referenced by vip_is_first_cq_entry_notified(), and VipCreateCQ().

VIP_UINT32 VIP_CQ::next_completion
 

Index of the next available entry in the completion queue.

Definition at line 261 of file vipl_structs.h.

Referenced by vip_notify_desc_completion(), vip_vi_transition_to_error_state(), and VipCreateCQ().

VIP_UINT32 VIP_CQ::event_count
 

Number of threads blocked on the previous event variable.

Definition at line 263 of file vipl_structs.h.

Referenced by vip_notify_desc_completion(), vip_vi_transition_to_error_state(), and VipCreateCQ().

VIP_EVENT_T VIP_CQ::event
 

Event variable used to wake up threads blocking on this CQ.

Definition at line 265 of file vipl_structs.h.

Referenced by vip_destroy_cq_handle_set(), vip_notify_desc_completion(), vip_vi_transition_to_error_state(), and VipCreateCQ().

VIP_SEMAPHORE_T VIP_CQ::notify_tokens
 

Semaphore used to trigger the activity of the notify thread.

Definition at line 267 of file vipl_structs.h.

Referenced by vip_cq_notify_thread(), and VipCreateCQ().

VIP_BOOLEAN VIP_CQ::notify_initialized
 

Flag indicating if the notify thread is spawned.

Definition at line 269 of file vipl_structs.h.

Referenced by VipCreateCQ().

VIP_BOOLEAN VIP_CQ::notify_cancelled
 

Flag indicating if the notify thread should be stopped.

Definition at line 271 of file vipl_structs.h.

Referenced by vip_cq_notify_thread(), and VipCreateCQ().

VIP_THREAD_T VIP_CQ::notify_thread
 

Notify thread blocking on the queue and executing the handlers.

Definition at line 273 of file vipl_structs.h.

struct VIP_NOTIFY* VIP_CQ::first_notify_handler
 

Pointer to the first registered notify handler in the pending list.

Definition at line 275 of file vipl_structs.h.

Referenced by VipCreateCQ().

struct VIP_NOTIFY* VIP_CQ::last_notify_handler
 

Pointer to the first registered notify handler in the pending list.

Definition at line 277 of file vipl_structs.h.

Referenced by VipCreateCQ().


The documentation for this struct was generated from the following file:
VI-GM-1.3 by Myricom © 1997-2006. Documentation generated on 20 May 2006 by doxygen 1.4.4.