Displaying 1 result from an estimated 1 matches for "threadedreadconsol".
Did you mean:
threadedreadconsole
2012 Jan 13
0
WISHLIST: Be able to timeout readline()/stdin via setTimeLimit in all consoles
...his point we need to use unsigned char or similar */
return (int) *ConsoleBufp++;
}
where in turn R_ReadConsole() appears to be specific to platform and
console, e.g. from src/gnuwin32/system.c:
* R_ReadConsole calls TrueReadConsole which points to:
* case 1: GuiReadConsole
* case 2 and 3: ThreadedReadConsole
* case 4: FileReadConsole
* ThreadedReadConsole wake up our 'reader thread' and wait until
* a new line of input is available. The 'reader thread' uses
* InThreadReadConsole to get it. InThreadReadConsole points to:
* case 2: CharReadConsole
* case 3: FileReadConsole
Here I...