C API Reference -- Ns_RWLockWrLock

### Ns_RWLockWrLock

#### Overview

Acquire a write lock

#### Syntax

        void Ns_RWLockWrLock (
        Ns_RWLock *lockPtr
        );

#### Description

Ns_RWLockWrLock acquires a write lock. Only one write lock can be in effect. If there are pending read locks active, the write lock acquisition blocks until all of the read locks drain. If a subsequent read lock acquisition attempt is made, the write lock has priority.

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