[ Previous ] [ Contents ] [ Index ] [ Next ]

ns_critsec

Overview

Manage critical sections

Syntax

ns_critsec create

ns_critsec destroy csid

ns_critsec enter csid

ns_critsec leave csid

Description

ns_critsec create creates a critical section and returns a critical section ID.

ns_critsec destroy destroys the specified critical section. The csid argument is the critical section ID returned by ns_critsec create when the critical section was created.

ns_critsec enter enters the specified critical section. The csid argument is the critical section ID returned by ns_critsec create when the critical section was created.

ns_critsec leave leaves the specified critical section. The csid argument is the critical section ID returned by ns_critsec create when the critical section was created.

See Also

Ns_InitializeCriticalSection

Ns_EnterCriticalSection

Ns_LeaveCriticalSection

Ns_DestroyCriticalSection

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.