In console input record queue, replace semaphore with a manual reset
event, so that we get correct behavior in synchronization handling.

7 files changed