Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> olog fails in a thread

olog fails in a thread

From: Raghu Krishnamurthy <rkrishna_at_dev.tivoli.com>
Date: 1996/12/09
Message-ID: <32ACA167.5782@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

ORA-03106: fatal two-task communication protocol error

Basically what I'm doing is

  1. Create a thread
  2. 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.com
Received on Mon Dec 09 1996 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US