|Oracle Call Interface Programmer's Guide
Part Number A89857-01
More OCI Relational Functions, 68 of 97
Initializes the OCIThread context.
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
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
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