Article View: borland.public.cppbuilder.database.dbexpress
Article #181DbExpress - Is it thread safe?
From: Adrian Mercieca
Date: Wed, 23 Jan 2008 07:44
Date: Wed, 23 Jan 2008 07:44
17 lines
1297 bytes
1297 bytes
Hi, Quick question... Are the dbexpress components (TSQLQuery, TSQLTable) etc thread safe? I am writing a free threaded datasnap server using DCOM and was wondering if I have to wrap all access to such components in my own critical sections/mutexes. For example, if thread A is using a TSQLQuery X, and then a thread B tries to access the X component, I guess I have to put in my own thread safety code in there myself no? Any pointers would be much appreciated. Tks - Adrian.
Technical Details
Message-ID:
<4796f04c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,30c8bae14bbd4fda,start X-Google-Attributes: gidfb4e2,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 23 Jan 2008 08:44:13 +0100 From: Adrian Mercieca <amercieca@gmail.com> User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.dbexpress Subject: DbExpress - Is it thread safe? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 195.158.111.182 Message-ID: <4796f04c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1201074252 195.158.111.182 (22 Jan 2008 23:44:12 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail