summaryrefslogtreecommitdiffstats
path: root/unix/tclXtNotify.c
diff options
context:
space:
mode:
authordas <das>2006-08-21 01:08:09 (GMT)
committerdas <das>2006-08-21 01:08:09 (GMT)
commit56574b4e03aa9dfcdd5a8886bfa4474879b6b956 (patch)
tree944a1205d51ac2cbc599ade273e50e17fa5d7372 /unix/tclXtNotify.c
parentc925813266e101493b3ca5049dbb21f4c1764d8b (diff)
downloadtcl-56574b4e03aa9dfcdd5a8886bfa4474879b6b956.zip
tcl-56574b4e03aa9dfcdd5a8886bfa4474879b6b956.tar.gz
tcl-56574b4e03aa9dfcdd5a8886bfa4474879b6b956.tar.bz2
* 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]
Diffstat (limited to 'unix/tclXtNotify.c')
0 files changed, 0 insertions, 0 deletions