21.06.2013 11:49, Dimitry Sibiryakov пишет: > 21.06.2013 8:38, Alex Peshkov wrote: >> I copyNpaste a comment from appropriate part of pre-fb3 code: >> "//This is error condition, but we have absolutely no ways to report it." > IMHO, it is not quite so. > isc_wait_for_event() can return error directly and isc_que_events() can > call AST with > updated == NULL how it is done on isc_cancel_events().
Do not think it's good idea to change ISC API this way. For example, client program which did not call isc_cancel_events() can segfault accessing updated == NULL. Let's better do correct API (I think about adding error handler to callback interface) in FB3. A. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel