Skip to content
Tcl Source Code Artifact [346bc651f3]
Login

Artifact [346bc651f3]

Artifact 346bc651f3e4c07a1c97c838af898668a554c104:

Manifest of check-in [346bc651f3] - * macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop is already running (e.g. if Tcl_WaitForEvent was called recursively), re-run it in a custom run loop mode containing only the source for the notifier thread, otherwise wakeups from other sources added to the common run loop modes might get lost; sync panic msg changes from HEAD. * unix/tclUnixNotfy.c (Tcl_WaitForEvent): on 64-bit Darwin, pthread_cond_timedwait() appears to have a bug that causes it to wait forever when passed an absolute time which has already been exceeded by the system time; as a workaround, when given a very brief timeout, just do a poll on that platform. [Bug 1457797] by das on 2006-08-21 01:08:09.
B a341c3758d1036ad7599b6e42f887de70114e95a
C \t*\smacosx/tclMacOSXNotify.c\s(Tcl_WaitForEvent):\sif\sthe\srun\sloop\sis\n\talready\srunning\s(e.g.\sif\sTcl_WaitForEvent\swas\scalled\srecursively),\n\tre-run\sit\sin\sa\scustom\srun\sloop\smode\scontaining\sonly\sthe\ssource\sfor\sthe\n\tnotifier\sthread,\sotherwise\swakeups\sfrom\sother\ssources\sadded\sto\sthe\n\tcommon\srun\sloop\smodes\smight\sget\slost;\ssync\spanic\smsg\schanges\sfrom\sHEAD.\n\n\t*\sunix/tclUnixNotfy.c\s(Tcl_WaitForEvent):\son\s64-bit\sDarwin,\n\tpthread_cond_timedwait()\sappears\sto\shave\sa\sbug\sthat\scauses\sit\sto\swait\n\tforever\swhen\spassed\san\sabsolute\stime\swhich\shas\salready\sbeen\sexceeded\sby\n\tthe\ssystem\stime;\sas\sa\sworkaround,\swhen\sgiven\sa\svery\sbrief\stimeout,\sjust\n\tdo\sa\spoll\son\sthat\splatform.\s[Bug\s1457797]\n
D 2006-08-21T01:08:09
F ChangeLog 9730545eaf50710a15f3a438e187524c3289fc5f
F macosx/tclMacOSXNotify.c 9cc3e35c7628deb46f799a7d1600b929391eb693
F unix/tclUnixChan.c 9bf001d12d9dd33dd3f23bb8a2a0ccfc0b7bc163
F unix/tclUnixNotfy.c a2b323cb91950440a9d1335c5fe36ba6dac5a056
P 625eafea5d6dec329e99009445b1605f778bde90
U das
Z 8fbb261274032232a18f5aff9751a4a6