Admin Production ni-theme
Current Publication

ATTR_TSQ_ACCESS_DENY

LabWindows/CVI

ATTR_TSQ_ACCESS_DENY

Data Type: integer
Description: This attribute specifies what operations are not allowed on the queue. The values are bit-flags that can be OR'd together to prevent more than one type of operation. Use this attribute to prevent threads from accessing the queue when you are shutting down the application.
Values:
VAL_TSQ_ACCESS_DENY_NONE (0x0)Allow all operations on the thread safe queue.
VAL_TSQ_ACCESS_DENY_READ (0x1)Deny read access to the thread safe queue. CmtReadTSQData, CmtGetTSQReadPtr, and CmtReleaseTSQReadPtr return errors when read access is denied.
VAL_TSQ_ACCESS_DENY_WRITE (0x2)Deny write access to the thread safe queue. CmtWriteTSQData, CmtGetTSQWritePtr, and CmtReleaseTSQWritePtr return errors when write access is denied.
VAL_TSQ_ACCESS_DENY_FLUSH (0x4)Do not allow the queue to be flushed. CmtFlushTSQ returns an error when flush access is denied.
VAL_TSQ_ACCESS_DENY_READWRITE (0x3)Deny read and write access to the queue.
VAL_TSQ_ACCESS_DENY_ALL (0xFFFFFFFF)Deny all restrictable access to the queue.
LabWindows/CVI
Compatibility:
LabWindows/CVI 5.5 and later