Subject Re: [ib-support] Re: Can anyone help: Error reading data from the connection
Author Martijn Tonies
Paul,


> nitaligavino wrote:
>
> > At this point another thread may
> > acquire this db handle. Is this safe?
>
>
> No. Start each thread and create the db handle within the thread.
>
> You need to think about keeping a pool of threads and letting each
> thread signal when it is ready for new work.

Why is this different? Or actually, why doesn't the other approach work?


With regards,

Martijn Tonies
InterBase Workbench - the developer tool for InterBase
http://www.upscene.com

Firebird Workbench - the developer tool for Firebird
http://www.upscene.com

Upscene Productions
http://www.upscene.com

"This is an object-oriented system.
If we change anything, the users object."