.
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