Subject Re: Re: [IBO] multithread app using IBO is freezing
Author GOVINDKRISHNA
Thanks a lot,
This seems to have solved the problem (cross my finger, knock on wood and all other things of good omen <g>)

Now I have a different question.

Using a windows 1.0.3 Superserver the app used to freeze.

what would happen with Classic server under Linux.
Could it cause the server process to get killed and client loose the connetion?


Regards
gk



------------------Original Message-----------

From : Rohit Gupta <r.gupta@...>
To : IBObjects@yahoogroups.com
Date : 25/03/2004 4:29:32 PM
Subject : Re: [IBO] multithread app using IBO is freezing

Try this

Set IB_Connection.CacheStatementHandles to false


GOVINDKRISHNA wrote:

>
> I am accessing a Firebird 1.0.3 database using IBO in a multi threaded
> application and my application is freezing. The applications stops
> responding
> and Windows says application not responding.
>
> I have been closing following this list and I think i have taken care of
> everything needed to make my app thread safe.
>
> I am putting in relevant bits of code. Could somebody please help me by
> suggesting what could be the problem.
>
> I have enclosed some stack traces of the threads along with this mail
> which are
> showing some gds__thread_enter calls of gds32.dll.I am not so sure
> what exactly
> this call means.But whenever my application's main thread is freezing,
> i have
> noticed that there is more than one thread in the application
> executing a call
> to this procedure.
>





___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links








>>> This mail is created in Hamsa (www.jlmatrix.com) <<<