Overview
| Artifact ID: | 158f2c5c2118da789bf738e3a62fa3e185cf28b6 |
|---|---|
| Ticket: | 1481986fffffffffffffffffffffffffffffffff
Tcl_Main blocks before starting my loop in Tcl_SetMainLoop |
| User & Date: | nobody on 2006-05-06 00:58:16 |
Changes
- icomment:
Logged In: NO Thanks Don, I downloaded 1481986.patch against 8.4.13 but it still had the same blocking problem. Then I traced down to Tcl_GetsObj() is actually blocking for RETURN in Tcl_Main, so I added "if (mainLoopProc == NULL)" to skip that code segment when Tcl_SetMainLoop is used. With this change, now Tcl_Main starts myEventLoop properly while giving me the interactive tcl prompt. Do you expect any side-effect from this change in tclMain.c? 352a353,354 > // 2006.5.5 alin Do not block if mainLoopProc set > if (mainLoopProc == NULL) { 374a377 > } - login: "nobody"
- mimetype: "text/plain"
- username: "nobody"