04.01.2016 15:49, Geoff Worboys wrote:
> Which leaves me trying to work out how to determine whether I can
> ignore a callback or not.  Is there a reliable way to do this so
> that I don't signal an event when there hasn't actually been one?

   I use following code:

isc_event_block(...);
isc_wait_for_event(...);
memmove(EventBuffer, ResultBuffer, EventBlockLength);
isc_que_events(...);

   isc_wait_for_event() called right after isc_event_block() returns current 
server 
counters immediatelly and don't call ast routine.

-- 
   WBR, SD.

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to