| Deutsch English Français Italiano |
|
<vjt866$20222$3@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.os.linux.misc Subject: Re: Are We Back to the "Wars" Now ? Date: Wed, 18 Dec 2024 01:23:18 -0000 (UTC) Organization: A noiseless patient Spider Lines: 14 Message-ID: <vjt866$20222$3@dont-email.me> References: <Sp-cnSz8UupYQaf6nZ2dnZfqnPednZ2d@earthlink.com> <vhja4p$23f5e$3@dont-email.me> <lNycnZghasCXPtP6nZ2dnZfqnPSdnZ2d@earthlink.com> <w0b7P.64695$oR74.19157@fx16.iad> <vjjljh$3unfq$1@dont-email.me> <vjk9nm$2chi$1@dont-email.me> <vjkae9$1uri$11@dont-email.me> <68b83l-jtd.ln1@ID-313840.user.individual.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 18 Dec 2024 02:23:18 +0100 (CET) Injection-Info: dont-email.me; posting-host="9ed5d2960e91ad91a8c092c667dd3279"; logging-data="2099266"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19t5wq2TKT5JFtqa1bY43Uw" User-Agent: Pan/0.161 (Chasiv Yar; ) Cancel-Lock: sha1:yENo+5S7N+cTwT+bwmJyotP+wbQ= Bytes: 1783 On Tue, 17 Dec 2024 13:34:30 +0000, Geoff Clare wrote: > With a pipe or FIFO, you just use simple read and write operations and > the system handles all the messy stuff for you. If the pipe reaches > capacity, write blocks until there is room to write some more; if the > pipe becomes empty, read blocks until there is more data available; when > read returns EOF that's the end of the data. Yup. Furthermore: * When the last writer closes its end, any remaining read attempts get EOF. * When the last reader closes its end, any remaining write attempts get “broken pipe”.