Overview
| Artifact ID: | 3d67a0577aa8a150ff93832f45c5c55f6a9b594f |
|---|---|
| Ticket: | 3607718fffffffffffffffffffffffffffffffff
HAVE_USLEEP not enabled in packaged sqlite3 |
| User & Date: | mbecroft on 2013-03-12 01:50:48 |
Changes
- assignee changed to: "stwo"
- cmimetype changed to: "text/plain"
- comment changed to:
OS Platform and Version: GNU/Linux, verified on Gentoo and Debian 5 Problem behaviour: The sqlite3 library packaged with Tcl 8.6.0 is built with HAVE_USLEEP undefined, even though it is available on the system. This leads to unexpectedly poor concurrency since sqlite waits for a minimum of 1 second before retrying access to a locked database. Expected behaviour: The sqlite3 library is buil twith HAVE_USLEEP defined when this system call is available, leading to expected concurrency behaviour. The problem can be worked around by building with the following command: CFLAGS='-DHAVE_USLEEP=1' make The affected function is sqliteDefaultBusyCallback(), which conditionally compiles different code depending on whether usleep() is available.
- foundin changed to: "current: 8.6.0"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mbecroft"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "HAVE_USLEEP not enabled in packaged sqlite3"
- type changed to: "Bug"