Precompilers and OCI (MOSC)

MOSC Banner

How many usage of OCIThreadInit() in multiple OCI Environment ?

edited Jul 21, 2010 3:11AM in Precompilers and OCI (MOSC) 6 commentsAnswered ✓
 Hello,

OCI doc says:

---

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.

---

If I have multiple thread that each has its own OCI Environment Handle, do I have to call OCIThreadInit() for each OCI Environment Handle ? Or, is calling it once enough ?

thanks in advance...

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center