Sys V msg q's: Input during blocking read?

Brian Walsh bww at uswat.UUCP
Fri Nov 9 09:19:50 AEST 1990


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 at uswat.uswest.com



More information about the Comp.unix.programmer mailing list