pipes under streams
Lars Pensj|
lars at myab.se
Mon Jun 26 23:19:25 AEST 1989
In article <256 at unix.SRI.COM> unix.sri.com!orawest!brian writes:
>How hard would it be to write a streams driver for named pipes?
>How about regular pipes? I want to sleep until data arrives from one
>of several processes - is this possible under V.3.2 Unix?
There is a stream pipe, "/dev/spx", which I think is standard under SYSV.
Open one pipe for every process you want to communicate with, and use
poll() to select. Note that "/dev/spx" is a clone device.
This should give you what you want.
--
Lars Pensj|
lars at myab.se
More information about the Comp.unix.questions
mailing list