DeleteCriticalSection

DeleteCriticalSection releases all resources used by an unowned critical-section object.

Syntax

VOID DeleteCriticalSection(
    LPCRITICAL_SECTION lpCriticalSection
);

Parameter

lpCriticalSection

A pointer to the critical-section object.

Return Values

This function does not return a value.

Remarks

Deleting a critical-section object releases all system resources used by the object. Once deleted, the critical-section object cannot be specified in the EnterCriticalSection or LeaveCriticalSection function.

Requirements

Library Rtx_Rtss.lib

See Also:

EnterCriticalSection

InitializeCriticalSection

LeaveCriticalSection

IntervalZero.com | Support | Give Feedback