Re: Multithreading under NT

From: Ingo Eichenseher <ieichens_at_appl-math.tu-muenchen.de>
Date: 1997/10/31
Message-ID: <63cbci$6n6_at_sunsystem5.informatik.tu-muenchen.de>#1/1


X schrieb in Nachricht <636ntr$jl6$1_at_duke.telepac.pt>...
>>There are three possiblities to make it work:
>>1. omit the oclose
>>2. force a thread switch before the oclose (put it into the second
 critical
>>section)
>>3. omit the opinit(OCI_EV_TSF) at startup.
>>Any suggestions ?
>
>You need to use something like a semaphore to

Of course, i'm using mutexes.

>
>If you use the opinit(OCI_EV_TSF) it should run OK. You still can't share a
>connection between 2 threads using simultaneously the DB, but we have it
>running OK in our tools with multiple connections.

I can share multiple connections between many threads, but i must not call opinit(OCI_EV_TSF).

>So, what version of Oracle do you use? We use the OCI libs from 7.3.3 (we
>found out a bug in 7.3.2 that gave an error just in the oopen call).

I'm using 7.3.3 and get no error. Instead oopen hangs in the second thread.

>If you need any extra help, mail me to morgan_at_cardume.com
>
>CardumeSoftware
>www.cardume.com
>
>
>
Received on Fri Oct 31 1997 - 00:00:00 CET

Original text of this message