Thomas Schwinge, le Sun 27 Mar 2011 00:45:11 +0100, a écrit : > two (different) select routines; nothing else. I had a look at the two > select routines, and didn't immediatelly spot anything wrong with them. > But of course, using condition variables, the logic is spread all-over...
You should check the variables that are tested before the condition_wait call: - in pty_io_select, *type, qsize(outputq), qsize(inputq), control_byte, termflags, remote_input_mode, - in trivfs_S_io_select, *type, qsize(inputq), qavail(outputq) Samuel