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

Ns_ReadLockRWLock

Overview

Acquire a read lock

Syntax

    int Ns_ReadLockRWLock(
    Ns_RWLock *lock
    );

Description

Ns_ReadLockRWLock acquires a read lock. Any number of read locks can be pending. If there's a write lock active, the read lock acquisition blocks until the write lock is released.

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

See Also

Ns_InitializeRWLock

Ns_DestroyRWLock

Ns_ReadUnlockRWLock

Ns_WriteLockRWLock

Ns_WriteUnlockRWLock

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.