Documentation Home
>
Multithreaded Programming Guide
>
Chapter 6 Programming With Solaris Threads
>
Similar Synchronization Functions—Mutual Exclusion Locks
>
Acquiring a Mutex
> mutex_lock Syntax
Multithreaded Programming Guide
Previous
: Destroy a Mutex
Next
: mutex_lock Return Values
mutex_lock
Syntax
#include <thread.h> int mutex_lock(mutex_t *
mp
);
Previous
: Destroy a Mutex
Next
: mutex_lock Return Values
© 2010, Oracle Corporation and/or its affiliates