Skip to content
Tcl Source Code Artifact [3d67a0577a]
Login

Artifact [3d67a0577a]

Artifact 3d67a0577aa8a150ff93832f45c5c55f6a9b594f:

Ticket change [3d67a0577a] - New ticket [3607718fffffffff|3607718fff] <i>HAVE_USLEEP not enabled in packaged sqlite3</i>. by mbecroft on 2013-03-12 01:50:48.
D 2013-03-12T01:50:48
J assignee stwo
J cmimetype text/plain
J comment OS\sPlatform\sand\sVersion:\sGNU/Linux,\sverified\son\sGentoo\sand\sDebian\s5\n\nProblem\sbehaviour:\n\nThe\ssqlite3\slibrary\spackaged\swith\sTcl\s8.6.0\sis\sbuilt\swith\sHAVE_USLEEP\sundefined,\seven\sthough\sit\sis\savailable\son\sthe\ssystem.\sThis\sleads\sto\sunexpectedly\spoor\sconcurrency\ssince\ssqlite\swaits\sfor\sa\sminimum\sof\s1\ssecond\sbefore\sretrying\saccess\sto\sa\slocked\sdatabase.\n\nExpected\sbehaviour:\n\nThe\ssqlite3\slibrary\sis\sbuil\stwith\sHAVE_USLEEP\sdefined\swhen\sthis\ssystem\scall\sis\savailable,\sleading\sto\sexpected\sconcurrency\sbehaviour.\n\nThe\sproblem\scan\sbe\sworked\saround\sby\sbuilding\swith\sthe\sfollowing\scommand:\n\nCFLAGS='-DHAVE_USLEEP=1'\smake\n\nThe\saffected\sfunction\sis\ssqliteDefaultBusyCallback(),\swhich\sconditionally\scompiles\sdifferent\scode\sdepending\son\swhether\susleep()\sis\savailable.\n
J foundin current:\s8.6.0
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter mbecroft
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title HAVE_USLEEP\snot\senabled\sin\spackaged\ssqlite3
J type Bug
K 3607718fffffffffffffffffffffffffffffffff
U mbecroft
Z c30b7089949481d1022f81b2f47d6a80