Skip to content
Tcl Source Code Artifact [4a96871342]
Login

Artifact [4a96871342]

Artifact 4a968713425e8630a166d1026fe5520210fb3cd9:

Ticket change [4a96871342] - Ticket [3544685fffffffff|3544685fff] <i>Threaded build failures on OpenBSD-current</i> status still Open with 4 other changes by ferrieux on 2012-07-21 18:04:50.
D 2012-07-21T18:04:50
J icomment Uh,\ssorry,\sbut\sit's\snot\stesting\sexactly\sthe\ssame\sthing\s;)\nIn\sthe\sktrace\syou\ssent\sme,\swe\ssee\sthat\sTcl\sis\sbasically\sdoing:\n\n\s\s\sgettimeofday(T1)\n\s\s\sclock_gettime(REALTIME,NOW)\n\s\s\spthread_cond_timedwait(NOW+100ms)\n\s\s\sgettimeofday(T2)\n\n\s\s\s/*\sOh\s!\sT2-T1\sis\smuch\sbigger\sthan\s100ms\s!!!\s*/\n\nWhile\sit\sseems\sthat\syour\sprogram\suses\sclock_gettime(REALTIME)\sinstead\sof\sgettimeofday\s(=>\sown\sdogfood)\n\nAnd\swith\sNS,\sit\sis\stesting\syet\sanother\sthing\s(discrepancies\sbetween\sthe\srealtime\sclock\sand\srelative\stimers).\sIf\sthe\sbug\sis\sin\sthe\stime\scomparison\sinside\spthread_cond_timedwait,\sI\sdon't\sexpect\ssuch\sa\sdiscrepancy\sto\sexist;\sadditionally,\ssuch\san\sobvious\sshift\sbetween\sthe\stwo\sclocks\swould\shave\sbeen\snoticed\selsewhere,\snot\sconfined\sto\spthread\sas\sthe\sbug\sseems\sto\sbe.\n\nCan\syou\splease\sretry\sa\sminimal\stest\salong\sthe\sabove\slines\s?\sAlso,\susing\sthe\ssame\sorder\sof\smagnitude\s(100ms)\sand\smany\sruns\sin\sa\srow\scould\shelp\sreproduce\sthe\sissue.\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3544685fffffffffffffffffffffffffffffffff
U ferrieux
Z 038fb316cc363d17cac51ed074eaa392