|Oracle Call Interface Programmer's Guide
Part Number A89857-01
More OCI Relational Functions, 75 of 97
Acquires a mutex for the thread in which it is called.
The OCI environment or user session handle.
The OCI error handle. If there is an error, it is recorded in err and this function returns OCI_ERROR. Diagnostic information can be obtained by calling
The mutex to acquire.
If the mutex is held by another thread, the calling thread is blocked until it can acquire the mutex.
It is illegal to attempt to acquire an uninitialized mutex.
This functions behavior is undefined if it is used by a thread to acquire a mutex that is already held by that thread.