Overview
| Artifact ID: | 329efc212542d0c389b106916c8bb521dfac42b1 |
|---|---|
| Ticket: | 8bd13f07bde6fb0631f27927e36461fdefe8ca95
Closing tcl pipes prevents windows threads from starting up |
| User & Date: | sebres on 2017-04-11 18:47:53 |
Changes
- icomment:
@ferrieux Thanks a lot... but in-between I've found already the bug, that was in tclWinPipe and tclWinConsole. I was just wondering that without this line, it works nevertheless perfect on my windows (and linux platforms). Now it does no matter (ATM). But just by the way: > If the former: leaving long-running useless children is not really clean, right ? IMHO the right way would be to use something like "after ... timeout" (instead of exit in readable): + after 5000 {set x timeout} + # or even + after 5000 exit vwait x > If the latter: ... Well, exit in readable is IMHO too aggressive, because may be even too error-prone, just because of tcl finalization of all subsystem's during exit (including notify, event, alloc etc), but we doing exit in event there! The goal of the cases from "socket.test" is to cover the socket module, not the whole tcl-handling (like pipes, events, notifying etc.). Just as comment BTW. - login: "sebres"
- mimetype: "text/plain"