RTL_CONDITION_VARIABLE

Structure RTL_CONDITION_VARIABLE uses a pointer field that encodes a pointer to a wait entry list and the wait list being modified.

Syntax

Copy
typedef struct _RTL_CONDITION_VARIABLE {
    PVOID Ptr;
} CONDITION_VARIABLE, *PCONDITION_VARIABLE;

State Encoding

The Ptr field encodes:

Bit 0 (RTX_COND_VAR_UNUSED_FLAG)

Reserved.

Bit 1 (RTX_COND_VAR_LOCKED_FLAG)

Wait list is being modified.

Bits 2+

Pointer to wait entry list.

Requirements

Minimum supported version Header Library

wRTOS 1.1 SDK

windows.h

wRTOS_rtss.lib