Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!apple!bbn!ginosko!uunet!mcvax!kth!sunic!chalmers!myab!lars From: lars@myab.se (Lars Pensj|) Newsgroups: comp.unix.questions Subject: Re: pipes under streams Message-ID: <468@myab.se> Date: 26 Jun 89 13:19:25 GMT References: <256@unix.SRI.COM> Reply-To: lars@myab.se (Lars Pensj|) Organization: Myab Gothenburg, Sweden Lines: 13 In article <256@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@myab.se