Subject Re: [ib-support] Re: gds32.dll
Author Rob Schuff
Ann,

thanks for the reply.

Would you say then at this point it is unsafe to run a (or several)
multithreaded application which has/have 1 connection per thread on the same
machine running ibserver even if connecting using the remote interface (e.g.
myserver:c:\mydata.gdb)?

I ask because I have been running this way for quite some time, but with no
apparent problems yet.

thanks again.

rob



----- Original Message -----
From: "Ann W. Harrison" <aharrison@...>
To: "Rob Schuff" <rob@...>
Cc: <ib-support@yahoogroups.com>; <astatech@egroups.com>; "Steve Garland"
<sgarland@...>
Sent: Monday, September 10, 2001 1:42 PM
Subject: [ib-support] Re: gds32.dll


> Hi Rob,
>
> I'm very aware of the confusion around threading and gds32.dll, but
> I don't have any very good news for you yet. Gds32.dll is build
> from the same sources as ibserver by varying some of the build parameters.
> Sorting out what is what is daunting.
>
> I can absolutely assure you that two threads can not share a connection
> unless they are interlocked. The server is very certain that each
> connection can have exactly one active request. Note that a request
> is not the same as a statement; each fetch is a separate request from
> the point of view of the engine.
>
> Whether there are data structures in the gds32.dll itself that are
> likely to be corrupted by simultaneous access by different threads
> (either sharing a connection or not) I can't say, yet.
>
> Regards,
>
> Ann
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>