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 -> Q:Thread safe Oracle client library

Q:Thread safe Oracle client library

From: <qing_at_plx.com>
Date: Thu, 04 Mar 1999 01:28:39 GMT
Message-ID: <7bknjs$7am$1@nnrp1.dejanews.com>


I have read the "developing multi-threaded Application" section of <<Pro*C/C++ precompiler Programmer's Guide>> I got a question for "Multiple Threads Sharing a Single Runtime Context" The document says you cannot share a runtime context between multiple threads at the same time if two or more threads attempt to use the same runtime context simultaneously, it will give the runtime error: SQL-02131: Runtime context in use. I am not sure if that is comform to "Thread safe", suppose client should wait to gain access the connection instead of give a runtime error..is oracle internally use mutex or semaphore? If they do, why they have such a limitation?

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Wed Mar 03 1999 - 19:28:39 CST

Original text of this message

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