Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 76 of 106
Initializes the OCIThread context.
sword OCIThreadInit ( dvoid *hndl, OCIError *err );
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()
.
It is illegal for OCIThread clients to try an examine the memory pointed to by the returned pointer. It is safe to make concurrent calls to OCIThreadInit()
. Unlike OCIThreadProcessInit()
, there is no need to have a first call that occurs before all the others.
The first time OCIThreadInit()
is called, it initializes the OCI Thread context. It also saves a pointer to the context in some system dependent manner. Subsequent calls to OCIThreadInit()
will return the same context.
Each call to OCIThreadInit()
must eventually be matched by a call to OCIThreadTerm()
.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|