C API Reference -- Ns_DestroyRWLock

### Ns_DestroyRWLock

#### Overview

Destroy a read/write lock

#### Syntax

        int Ns_DestroyRWLock(
        Ns_RWLock *lock
        );

#### Description

Ns_DestroyRWLock frees the read/write lock's associated resources.

For general information about read/write locks and an example showing the use of the read/write lock functions, see the Ns_InitializeRWLock function.

Ns_RWLockDestroy is the preferred function for destroying a read/write lock.

#### See Also

Ns_InitializeRWLock

Ns_ReadLockRWLock

Ns_ReadUnlockRWLock

Ns_WriteLockRWLock

Ns_WriteUnlockRWLock

Top of Page
Copyright © 1998-99 America Online, Inc.