Manifest of check-in
[7221913ebc]
- * 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.
* 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:03.
B 8e0081af99484566f768574cb6062fcadb3acf72
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.\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:03
F ChangeLog 01bd0dad2c584e914be802428829a013e6c676af
F macosx/tclMacOSXNotify.c 2551903aa05c1d3732b8f4c1d409695135e5a9af
F unix/tclUnixChan.c f9095be2c8b6e03cfc3be86142b5150d93a9cb4f
F unix/tclUnixNotfy.c 1f99b6b779710617d996ce27bdbe62855233579a
P a837931e2dee674bc02fe6af3458afa830277d84
U das
Z f0403bd0f3b531a26170633cf9ada488