Print Thread
Is TOracleSession.Share() thread safe?
#39227 12/27/10 10:26 PM
Joined: Jul 2003
Posts: 112
Fino Mornasco, Como, Italy
L
Member
OP Offline
Member
L
Joined: Jul 2003
Posts: 112
Fino Mornasco, Como, Italy
If a TOracleSession is initialized using another session Share() method, is that session "thread safe"? I mean, if it is used by a given thread only are calls safe as if it was initialized separately, or because the connection is shared they are not, and calls must be synchronized some way?


LDS
Re: Is TOracleSession.Share() thread safe?
ldsandon #39230 12/29/10 10:56 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
You will need to set the ThreadSafe property of both TOracleSession instances involved.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.145s Queries: 15 (0.024s) Memory: 2.4995 MB (Peak: 3.0431 MB) Data Comp: Off Server Time: 2024-05-16 14:39:28 UTC
Valid HTML 5 and Valid CSS