search for: inthreadreadconsole

Displaying 1 result from an estimated 1 matches for "inthreadreadconsole".

2012 Jan 13
0
WISHLIST: Be able to timeout readline()/stdin via setTimeLimit in all consoles
...em.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 get a bit lost, but there is: /*2: from character console with getline (only used as InThreadReadConsole)*/ static int CharReadConsole(const char *prompt, char *buf, int len, int addtohistory) {...