diff options
author | sebres <sebres@users.sourceforge.net> | 2017-04-05 10:41:05 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2017-04-05 10:41:05 (GMT) |
commit | 2ae10f0b3391991adbe6138238681d4d0f3ead11 (patch) | |
tree | 6ef69010fb5df6a845c636cca69ffc921976916c /win/tclWinPipe.c | |
parent | b9cc513f2fc6fc01a9c999ce5397d77a74221742 (diff) | |
download | tcl-2ae10f0b3391991adbe6138238681d4d0f3ead11.zip tcl-2ae10f0b3391991adbe6138238681d4d0f3ead11.tar.gz tcl-2ae10f0b3391991adbe6138238681d4d0f3ead11.tar.bz2 |
fix typo-bug (using wrong thread handle by set priority)
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r-- | win/tclWinPipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index 48dcc25..fce039c 100644 --- a/win/tclWinPipe.c +++ b/win/tclWinPipe.c @@ -1626,7 +1626,7 @@ TclpCreateCommandChannel( infoPtr->writeThreadExiting = FALSE; infoPtr->writeThread = CreateThread(NULL, 256, PipeWriterThread, infoPtr, 0, &id); - SetThreadPriority(infoPtr->readThread, THREAD_PRIORITY_HIGHEST); + SetThreadPriority(infoPtr->writeThread, THREAD_PRIORITY_HIGHEST); infoPtr->validMask |= TCL_WRITABLE; wEvents[wEventsCnt++] = infoPtr->startWriter; } else { |