On 11/03/18 13:23, Dimitry Sibiryakov wrote:
Hello, All.

  Consider a program which handle SIGINT by asking user if it really need to be interrupted. On answer "No" it can continue work. But currently it cannot because background thread already called fb_shutdown() and destroyed everything.
  Is it a right behavior for client library?

  IMHO, fbclient must not handle signals at all and perform unavoidable cleanup in destructor routines.


An idea was to have same behavior for remote and embedded connections, please read doc/README.fb_shutdown, pay attention at fb_shut_confirmation and a sample in the end.




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

Reply via email to