Summary: Is there a select()-like call for message queues?

Peter da Silva peter at ficc.uu.net
Wed Jan 10 06:55:45 AEST 1990


Yeh, it's a bummer. For years a buddy of mine said that this and asynch
I/O was sorely needed in UNIX, but only in the past few years did I come
around. You should be able to do a poll/select on *any* file descriptor
or combination thereof. Not only that, but you should be able to post
a read() without waiting. This would be a much cleaner technique than
either select() or poll(), and would allow all sorts of nice epiphenomena.
For example, you could explictly read-ahead on a raw device...

(da Silva real-time-UNIX-hooks rant # 45)
-- 
 _--_|\  Peter da Silva. +1 713 274 5180. <peter at ficc.uu.net>.
/      \ Also <peter at ficc.lonestar.org> or <peter at sugar.lonestar.org>
\_.--._/
      v  "Have you hugged your wolf today?" `-_-'



More information about the Comp.unix.questions mailing list