[sqlite] SQLite and signal handlers
Hi, What is a recommended way of handling signals in daemon processes using sqlite database ? Is calling sqlite3_interrupt() in SIGTERM handler considered good enough ? Thanks. Felix. -- View this message in context: http://www.nabble.com/SQLite-and-signal-handlers-tp15306961p15306961.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and signal handlers
Felix Radensky [EMAIL PROTECTED] wrote: Hi, What is a recommended way of handling signals in daemon processes using sqlite database ? Is calling sqlite3_interrupt() in SIGTERM handler considered good enough ? sqlite3_interrupt() was originally create for the specific purpose of handling SIGINT when you press Control-C in the CLI. So it is probably what you want. -- D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users