Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition when writing to console from UPnP thread.
The console and text drawing code are _not_ thread-safe, and should never be called from side threads! Also fixes a less serious, non-thread related race condition that would mean text got truncated too early because the global font was sometimes wrong for counting pixels while truncating into console buffer. Closes ticket:4567 Closes ticket:4564 Closes ticket:4546 Actually fixes ticket:4361 and reverts useless fix in that ticket.
- Loading branch information
Showing
4 changed files
with
106 additions
and
96 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
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
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
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