Article View: borland.public.cppbuilder.database.ado
Article #2099Are BCB6 ADO components threadsafe?
From: Simon Elliott
Date: Tue, 04 Nov 2003 22:15
Date: Tue, 04 Nov 2003 22:15
13 lines
1400 bytes
1400 bytes
I have an application with lots of threads, each doing data acquisition. I want to put the data into an MS Access database using the BCB6 ADO components. Are the ADO components threadsafe, or do I need to implement some kind of resource locking? I expect I'd need a separate instance of TADOQuery or TADOTable components for each thread. Could I have a single TADOConnection or would I need a separate instance of this for each thread as well? -- Simon Elliott http://www.ctsn.co.uk/
Technical Details
Message-ID:
<Q24R4AAwTCq$IwMv@courtlands.demon.co.uk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!courtlands.demon.co.uk!simonShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,20d39133b18e82b8,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-11-04 14:32:44 PST Message-ID: <Q24R4AAwTCq$IwMv@courtlands.demon.co.uk> Date: Tue, 4 Nov 2003 22:15:12 +0000 From: Simon Elliott <simon@nospam.demon.co.uk> Reply-To: Simon Elliott <news@nospam.demon.co.uk> Newsgroups: borland.public.cppbuilder.database.ado Subject: Are BCB6 ADO components threadsafe? Lines: 19 Organization: Courtlands Technical Services MIME-Version: 1.0 X-Newsreader: Turnpike Integrated Version 4.02 U <aLIvuQCpEWZ0Tu7eytpxRhrSSE> NNTP-Posting-Host: 158.152.154.121 X-Trace: newsgroups.borland.com 1067984123 158.152.154.121 (4 Nov 2003 14:15:23 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!courtlands.demon.co.uk!simon