Search found 3 matches

by WTimmers
18.07.2006, 07:36
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZeosLib thread safety
Replies: 13
Views: 3655

A bit later than I hoped, but we found a solution. It has to do with sharing memory between DLL's. Apparently the TZConnection isn't suitable for exchange between two DLL's when you're using the default memory manager. Some elements of TZConnection (such as a variable length TStringField? ) don't li...
by WTimmers
21.03.2006, 15:13
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZeosLib thread safety
Replies: 13
Views: 3655

The problem goes down to the libmysql API. A single connection is instantiated using memory buffers inside libmysql, and each query uses this connection buffer or handle to process queries back and forth. There is no problem whatsoever with allowing hundreds of queries to use the same connection, a...
by WTimmers
21.03.2006, 12:31
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZeosLib thread safety
Replies: 13
Views: 3655

Well, I don't know if it applies in this situation but I ran some threaded stress tests on the 6.1.5 version of ZSqlMonitor (which is identical to the latest 6.5.1 version) and everything checked out fine with no exceptions or AV's. I know that Zeos is a little bit sensitive (very sensitive, actual...