Deutsch English Français Italiano |
<vhj1g2$21ps0$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder2.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: The joy of pipes Date: Tue, 19 Nov 2024 21:55:14 -0000 (UTC) Organization: A noiseless patient Spider Lines: 12 Message-ID: <vhj1g2$21ps0$1@dont-email.me> References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com> <e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net> <m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf> <20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me> <hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com> <A7GZO.66$hgYd.23@fx41.iad> <wwvr07bpizm.fsf@LkoBDZeT.terraraq.uk> <JJOdnfSeXoej5aT6nZ2dnZfqnPSdnZ2d@earthlink.com> <wwvwmh2z1y3.fsf@LkoBDZeT.terraraq.uk> <Uv-dnfY4yvgPJKf6nZ2dnZfqnPSdnZ2d@earthlink.com> <vhelgl$142m9$2@dont-email.me> <UricnZ0glICSeaf6nZ2dnZfqn_adnZ2d@earthlink.com> <vhf0sn$15fdk$1@dont-email.me> <vhf1qg$165g7$1@dont-email.me> <vhf70v$16jpu$1@dont-email.me> <lq1dalFqbacU1@mid.individual.net> <vhhnet$1peus$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 19 Nov 2024 22:55:14 +0100 (CET) Injection-Info: dont-email.me; posting-host="c39ce09e5b4a7cfb75b87dd533b9fcc6"; logging-data="2156416"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18PrCMCejr8DiOi09AyEBMy" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:laGe2KCGStC8y4/J7nkhIKA7hwA= Bytes: 2158 On Tue, 19 Nov 2024 09:57:47 +0000, Pancho wrote: > That has a knock on effect that I don't really > understand the behaviour of programs which do use pipes. I'm presuming > bash commands uses pipes. As should be apparent by now, pipes are more than a substitute for temporary files, they are an IPC/synchronization mechanism. Consider this C program <https://gitlab.com/ldo/slow_dbus_server>, and see how a pipe is used to send a termination notification from a worker thread back to the main thread.