Subject | Re: Event progamming, application do not stop |
---|---|
Author | tailuo2002 |
Post date | 2006-03-11T00:15:12Z |
Helen Borrie:
Thank you for your reply.
When I run the application , there are no any database activities .
That is , no event occur. So ,the application SHOULD wait , but it
DOES NOT wait.
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@...>
wrote:
Thank you for your reply.
When I run the application , there are no any database activities .
That is , no event occur. So ,the application SHOULD wait , but it
DOES NOT wait.
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@...>
wrote:
>think
> At 02:23 AM 11/03/2006, you wrote:
> >Hi,
> >
> >I'm using FB 1.5.2 under linux.
> >
> >After calling ISC_EVENT_BLOCK, the application did not stop. I
> >it should wait event here.in
>
> No. The event block just tells the server which event[s] it is
> likely to be interested in, i.e. it defines the event parameter
> block, causing the server to allocate space for it and assign
> starting values. The server then creates a record for the event
> the RAM-resident event table
>
> Use isc_wait_for_event() to register interest in a specific
> event. This call will cause the interface to pause until a
> transaction that posts the registered event is committed.
>
> ./heLen
>