AsmBB

Power
Login Register

Compile sqlite with HAVE_USLEEP=1
0

#16218 (ツ) ganuonglachanh
Last edited: 18.02.2021 by ganuonglachanh , read: 2644 times

We should compile sqlite with HAVE_USLEEP=1 You may read more detail here:

https://beets.io/blog/sqlite-nightmare.html

sqlite.org

HAVE_USLEEP

If the HAVE_USLEEP option is true, then the default unix VFS uses the usleep() system call to implement the xSleep method. If this option is undefined or false, then xSleep on unix is implemented using sleep() which means that sqlite3_sleep() will have a minimum wait interval of 1000 milliseconds regardless of its argument.

Attached files:
FileSizeUploadedDownloadsMD5 hash
ld-musl-i386.so571160 bytes18.02.20213273a10b8193319ae80309187e516fb68b8
libsqlite3.so702772 bytes18.02.2021321a926d3798d77b44a7a524dc268073626
#16229 (ツ) johnfound
Created 19.01.2022, read: 1799 times

Interesting. Will change the SQLite building script in order to explicitly specify this option.

Compile sqlite with HAVE_USLEEP=1
0

AsmBB v3.0 (check-in: a316dab8b98d07d9); SQLite v3.42.0 (check-in: 831d0fb2836b71c9);
©2016..2023 John Found; Licensed under EUPL. Powered by Assembly language Created with Fresh IDE