diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-28 08:00:51 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-28 08:00:51 (GMT) |
commit | 2f5a766c71b1796f47a58123f17c3242b607feca (patch) | |
tree | 6e85f7dd2b98f0c060086540c153617c8b70ae9d /win/tclWinConsole.c | |
parent | ea1a2f3fbf4607b58ceffe3606b2d2e7e59e609f (diff) | |
parent | 2bf6ae09b3ac48095177c0f52735fb9bfa10f164 (diff) | |
download | tcl-2f5a766c71b1796f47a58123f17c3242b607feca.zip tcl-2f5a766c71b1796f47a58123f17c3242b607feca.tar.gz tcl-2f5a766c71b1796f47a58123f17c3242b607feca.tar.bz2 |
merge core-8-6-branch
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r-- | win/tclWinConsole.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c index 7a0965d..d61a030 100644 --- a/win/tclWinConsole.c +++ b/win/tclWinConsole.c @@ -1106,7 +1106,7 @@ ConsoleReaderThread( HANDLE *handle = NULL; ConsoleThreadInfo *threadInfo = NULL; int done = 0; - + while (!done) { /* * Wait for the main thread to signal before attempting to read. @@ -1205,7 +1205,7 @@ ConsoleWriterThread( DWORD count, toWrite; char *buf; int done = 0; - + while (!done) { /* * Wait for the main thread to signal before attempting to write. @@ -1339,7 +1339,7 @@ TclWinOpenConsoleChannel( infoPtr->reader.readyEvent = CreateEvent(NULL, TRUE, TRUE, NULL); infoPtr->reader.thread = CreateThread(NULL, 256, ConsoleReaderThread, - TclPipeThreadCreateTI(&infoPtr->reader.TI, infoPtr, + TclPipeThreadCreateTI(&infoPtr->reader.TI, infoPtr, infoPtr->reader.readyEvent), 0, NULL); SetThreadPriority(infoPtr->reader.thread, THREAD_PRIORITY_HIGHEST); } |