Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 83 of 106
Acquires a mutex for the thread in which it is called.
sword OCIThreadMutexAcquire ( dvoid *hndl, OCIError *err, OCIThreadMutex *mutex );
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 OCIErrorGet()
.
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.
OCIThreadMutexDestroy(), OCIThreadMutexInit(), OCIThreadMutexRelease()
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|