[comp.unix.programmer] Sys V msg q's: Input during blocking read?

bww@uswat.UUCP (Brian Walsh) (11/09/90)

We would like to have a process do a blocking wait on a System V, Release 3,
message queue, but be able to terminate the wait on an ESC (or similar)
character from the keyboard.

We thought of a kludgy way, i.e., to have one process waiting on the message
queue and a second process signal the first when it receives keyboard input.
Are there better solutions?  (We know how to do it in DOS. :-)

Please email responses to me at address given below.

Brian Walsh
bww@uswat.uswest.com