Subject | Re: [IBO] IB5.6 on Win2000 |
---|---|
Author | Jason Wharton |
Post date | 2000-12-20T01:54:19Z |
He is misunderstanding.
Of course you don't want an API such that it accommodates all forms of
threading abuse. But, there has to be a point where a thread can safely
operate in and for the IB API that is the context of one thread per
connection and nothing more. I agree that it shouldn't go beyond that and
I'm surprised he would think myself and some of the other experienced IB
people wouldn't know that by now.
The bug has to do with using threads properly with the IB6 client.
If Borland doesn't fix this bug then people using middleware or threading
will have no choice but to use Firebird.
FWIW,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
Of course you don't want an API such that it accommodates all forms of
threading abuse. But, there has to be a point where a thread can safely
operate in and for the IB API that is the context of one thread per
connection and nothing more. I agree that it shouldn't go beyond that and
I'm surprised he would think myself and some of the other experienced IB
people wouldn't know that by now.
The bug has to do with using threads properly with the IB6 client.
If Borland doesn't fix this bug then people using middleware or threading
will have no choice but to use Firebird.
FWIW,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Luiz Alves" <cprmlao@...>
To: <IBObjects@egroups.com>
Sent: Tuesday, December 19, 2000 6:47 PM
Subject: Re: [IBO] IB5.6 on Win2000
> Jason,
>
> In interbase.public.general, Jeff wrote in thread "interbase vs firebird":
> "There is no bug. The fact that the Dll is not thread safe in and of
itself
> is
> not a bug. Since adding thread safety to that DLL would slow it down in
all
> situations I for one do not want to see gds32.dll made thread safe as a
> majority
> of applications do not need it. That doesn't mean I don't want to see a
> second
> thread safe version like C++ RTL's are done (in C++ there is usually a
> thread
> safe version of the RTL and a non thread safe version)."
>
> Maybe, we will have a second dll thread safe on future giving choice
option
> to developer. But if this dll will going slow down the app, I don't see
any
> advantage in your use.
>
> Luiz.
> ----- Original Message -----
> From: Jason Wharton <jwharton@...>
> To: <IBObjects@egroups.com>
> Sent: Tuesday, December 19, 2000 11:28 PM
> Subject: Re: [IBO] IB5.6 on Win2000
>
>
> > > Where are you seeing problems with the client?
> >
> > My Threads sample application works just fine with IB5.6 but with IB6 is
> > freezes up as soon as I kick off another thread. It is a VERY simple app
> and
> > I know that it is an issue with the client.
> >
> > > I am now using it in the field as it has eliminated my problems caused
> > > by 5.6 holding connections open. I need to run two threads to clear a
> > > problem which I just hide at present, which I was going to fix by
> > > running two connections, an I going to get problems?
> >
> > > Also Jeff is saying "It's not a bug and will not be fixed!"
> >
> > Where did he say that? He's wrong.
> >
> > Jason Wharton
> > CPS - Mesa AZ
> > http://www.ibobjects.com
> >
> >
> >
> >
> >
> >
>
>
>
>
>