🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.dbexpress
1 messages
1 total messages Started by Adrian Mercieca Wed, 23 Jan 2008 07:44
DbExpress - Is it thread safe?
#181
Author: Adrian Mercieca
Date: Wed, 23 Jan 2008 07:44
17 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads