Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Thread safe problem with Oracle
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/~ycheung3Received on Thu Feb 20 1997 - 00:00:00 CST
![]() |
![]() |