🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1197

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

#1197
From: Brian Walsh
Date: Thu, 08 Nov 1990 22:19
13 lines
867 bytes
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
Technical Details
Message-ID: <12729@uswat.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!ub!boulder!uswat!bww

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!ub!boulder!uswat!bww
From: bww@uswat.UUCP (Brian Walsh)
Newsgroups: comp.unix.programmer
Subject: Sys V msg q's: Input during blocking read?
Keywords: message queues system V
Message-ID: <12729@uswat.UUCP>
Date: 8 Nov 90 22:19:50 GMT
Organization: U S WEST
Lines: 13