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

Ns_MutexLock

Overview

Lock a mutex object

Syntax

    void Ns_MutexLock (
    Ns_Mutex *mutexPtr 
    );

Description

Acquire the mutex. If the mutex is already locked then the current thread will block until the mutex is unlocked. Note: mutexes are not recursive. If the current thread tries to lock the mutex twice in a row, it will block or get an error depending on the platform.

Top of Page

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