Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 85 of 106
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, 2002 Oracle Corporation. All Rights Reserved. |
|