> From your theory, how should be thread waiting with isc_event_wait() > to be aborted > without calling callback on cancel?
Using overlapped IO. Then you don't need extra thread (blocking it and wasting resources) and you don't have to abort it. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel