olog fails in a thread
From: Raghu Krishnamurthy <rkrishna_at_dev.tivoli.com>
Date: 1996/12/09
Message-ID: <32ACA167.5782_at_dev.tivoli.com>#1/1
Date: 1996/12/09
Message-ID: <32ACA167.5782_at_dev.tivoli.com>#1/1
Hi,
I have to use olog inside a thread (pthreads package in C). I've had luck with sunos4 and AIX. In HP/UX 10.10 I get
- ORACLE error--
ORA-03106: fatal two-task communication protocol error
Basically what I'm doing is
- Create a thread
- In the thread ret_val = olog(&lda, hda, username, -1, password, -1, (text *) 0, -1, OCI_LM_DEF);
I have tried this on 7.2 and 7.3.2.2 without any success. I was told that 7.3.x fixes this problem and it doesn't seem to. The documentation that comes with 7.3 seems to suggest that I've got to use -
opinit(OCI_EV_TSF)
I've tried this and it doesn't do a thing.
Thanks,
Raghu
--
_______________________^v^___________________________________ Raghu Krishnamurthy mailto:rkrishna_at_dev.tivoli.com Tivoli Systems (512) 436-8580 Austin, TX http://www.tivoli.comReceived on Mon Dec 09 1996 - 00:00:00 CET