Yes I am sure.
This is the right way based on current REALSQLDatabase implementation and based on the assumption that the code must works fine in a multiplatform environment.

---
Marco Bambini
http://www.sqlabs.net
http://www.sqlabs.net/blog/
http://www.sqlabs.net/realsqlserver/



On Oct 16, 2006, at 5:07 PM, Maximilian Tyrtania wrote:

Hi,

No, each thread MUST open a database connection with db.Connect.

Hmm, are you sure? Wouldn't it be okay to just wrap your queries and
SQLExecutes in crtical sections? Just give your connection a critical
section property and enter and leave it as you please. This might be a
little bit faster then having to connect each time you spawn a new thread.

Well, everything depends on what exactly the app does, of course.

-> Maximilian Tyrtania | [EMAIL PROTECTED]
  fischerAppelt Kommunikation GmbH
  Tucholskystr. 18 | D-10117 Berlin | Germany
  Tel. ++49-30-726146-728 | Fax ++49-30-726146-710
  www.fischerAppelt.de


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to