Notifier liveliness patch
Brought to you by:
mdejong
This patch allows the Notifier to loop, by including
a wait timeout, instead of letting wait() forever until
the next event.
I ran into an issue while running Jacl in my Aejaks
project, which compounds matters by running inside of
a servlet container.
Without this patch, a deadlock can occur where both
the Notifier is waiting, and the thread that just
placed a TclEvent into the notificer is waiting to sync(). Since the Notifier was stalled, the TclEvent
was never serviced.
tcljava.notifier.pause.patch