-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync ReadKeyProc thread with pipeline thread (#3294)
The pipeline thread was returning before the `ReadKeyProcThread` had finished processing the dummy input. This was occurring somewhat frequently when `ReadLine` was invoked multiple times in a row creating a race condition. With these changes, the pipeline thread will wait for dummy input to be received, dequeue the key, and continue with normal cancellation logic.
- Loading branch information
1 parent
77e256a
commit e94afef
Showing
1 changed file
with
8 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters