Subject | Re: [ib-support] Re: Can anyone help: Error reading data from the connection |
---|---|
Author | Martijn Tonies |
Post date | 2002-09-18T15:57:38Z |
Paul,
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."
> nitaligavino wrote:Why is this different? Or actually, why doesn't the other approach work?
>
> > 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.
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."