-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pavel Ivanov wrote:
> Roger, note that OP is talking about re-entrance, not thread-safety.
> He wants to know which functions can be called from signal handlers
> which can be called in the middle of some other SQLite call in the
> same thread. I doubt that many people use SQLite with this pattern.

Apologies: I didn't spot the signal handler bit.  Almost nothing is safe
to be called in signal handlers in almost all libraries so I wouldn't
expect SQLite to be any different.

However the various SQLite APIs are almost all re-entrant when called
from a callback that SQLite made to your code.  (That is what I thought
they were asking about :-)

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpYH30ACgkQmOOfHg372QT+sgCgnvufo0MwrnmeDFMz6svTF9rU
+7cAoIDZiyxJ6REeZvubj9rwgkhL6PjR
=F3HB
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to