SQLite Forum

How to check if HAVE_USLEEP is activated?
Hi, I get some "database is locked" errors from Python and following https://beets.io/blog/sqlite-nightmare.html, I would like to check if HAVE_USLEEP  is activated. How can I do it reliably?

"PRAGMA compile_options;" doesn't seem to do it.

I also tried to look at the Makefile generated from "./configure" but it doesn't show the "HAVE_USLEEP" flag.