Oracle Call Interface Programmer's Guide Release 9.0.1 Part Number A89857-01 |
|
More OCI Relational Functions, 77 of 97
Allocates and initializes a mutex.
sword OCIThreadMutexInit ( dvoid *hndl, OCIError *err, OCIThreadMutex **mutex );
The OCI environment or user session handle.
The OCI error handle. If there is an error and OCI_ERROR is returned, the error is recorded in err and diagnostic information can be obtained by calling OCIErrorGet()
.
The mutex to initialize.
All mutexes must be initialized prior to use.
Multiple threads must not initialize the same mutex simultaneously. Also, a mutex must not be reinitialized until it has been destroyed (see OCIThreadMutexDestroy()
).
OCIThreadMutexDestroy()
,
OCIThreadMutexAcquire(),
OCIThreadMutexRelease()
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|