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

Home -> Community -> Usenet -> c.d.o.server -> Thread safe problem with Oracle

Thread safe problem with Oracle

From: cheung yat tung <ycheung3_at_ie.cuhk.hk>
Date: 1997/02/20
Message-ID: <5ei21m$65q@eng-ser1.erg.cuhk.edu.hk>#1/1

Dear All,

I am writing a multi-threaded C with embedded SQL. I am using the Oracle Server 7.3.2 and Pro*C/C++ 2.2.2.0.0. However, I can't get multiple threads to access the EXEC SQL commands at the same time. I have tried to use mutexes to allow only one thread to access the SQL commands. However, I still get the 'Bus Error'.

I am using the pthread library in Sun's Solaris.

Any suggestion? Have I missed any important options?

Thanks

Best Regards

--
Cheung Yat Tung Tony
An Information Engineering student of the Chinese University of Hong Kong.
Enjoy BBS SysOp (6:700/648_at_FidoNet) (852)2398-2059 (852)2789-4563
Homepage at http://www.ie.cuhk.edu.hk/~ycheung3
Received on Thu Feb 20 1997 - 00:00:00 CST

Original text of this message

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