Xref: utzoo comp.unix.questions:18641 comp.os.misc:1058 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mcnc!rti!xyzzy!kan From: kan@dg-rtp.dg.com (Victor Kan) Newsgroups: comp.unix.questions,comp.os.misc Subject: An equivalent of select() but for message queues? Summary: Does it exist? Message-ID: <1731@xyzzy.UUCP> Date: 29 Dec 89 01:41:18 GMT Sender: usenet@xyzzy.UUCP Reply-To: kan@tom.dg.com () Organization: Data General Corporation, Research Triangle Park, NC Lines: 22 Does anyone know if there's a Unix system call that's analogous to select() but works on message queues rather than file descriptors? Basically, I want to have a high resolution time out mechanism for msgrcv() rather than just blocking until a message of the right type comes in, or polling. I know I can kludge it with alarm signals or select() on a dummy file descriptor with a timeout value, but I'd prefer to avoid this. It seems like such an obvious feature; how do non-Unix OS's do this, if at all? Any Mach, QNX or other message based systems users out there with the answer? Please reply by e-mail and I'll summarize to comp.unix.questions. kan@dg-rtp.dg.com or ...!mcnc!rti!xyzzy!kan should work. Thanks for any info! | Victor Kan | I speak only for myself. | *** | Data General Corporation | Edito cum Emacs, ergo sum. | **** | 62 T.W. Alexander Drive | Columbia Lions Win, 9 October 1988 for | **** %%%% | RTP, NC 27709 | a record of 1-44. Way to go, Lions! | *** %%%