1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

VIDEO: Added priority boost to thread performing SDL processing and updates

Reworked all priority adjustment code to leverage a new
sim_os_set_thread_priority API which is coded to use pthreads or OS
priority adjustment APIs as necessary.
This commit is contained in:
Mark Pizzolato
2016-06-11 09:52:33 -07:00
parent 3743d3d68a
commit a24aba69ae
9 changed files with 114 additions and 63 deletions

3
scp.c
View File

@@ -7698,7 +7698,8 @@ if (double_quote_found && (!single_quote_found))
*tptr++ = quote;
while (size--) {
switch (*iptr) {
case '\r': *tptr++ = '\\'; *tptr++ = 'r'; break;
case '\r':
*tptr++ = '\\'; *tptr++ = 'r'; break;
case '\n':
*tptr++ = '\\'; *tptr++ = 'n'; break;
case '\f':