On Oct 16, 2006, at 9:07 AM, 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.
You could but then each thread would block
If you have a separate connection in each thread you should not see
that behavior unless you have some kind of deadlock
_______________________________________________
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>