From: Donal K. Fellows on
On 6 Sep, 15:50, Uwe Klein <uwe_klein_habertw...(a)t-online.de> wrote:
> On unix [vwait] errors out when no further events _can_
> possibly be generated.
> i.e. no eventloop for X, no pending [after] and no [filevent]
> for open files waiting for IO ( or anything  similar ).

The difference is that Tcl on Windows is built threaded normally (at a
low level, there are always threads involved anyway due to the way
that Windows works) and Tcl on Unix is built unthreaded by default.
Threaded builds of Tcl do not detect when there are no event sources;
it's unfortunately just too difficult (e.g., there may be non-Tcl
threads that can produce events).

Donal.