From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: In memory Stream Date: Sun, 18 Feb 2024 11:06:16 +0100 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 18 Feb 2024 10:06:15 -0000 (UTC) Injection-Info: dont-email.me; posting-host="b11821256dd767875c04de89f6cd636b"; logging-data="1055687"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gVV/i7jZmXPpDP2B9NjVd52834dLpSkA=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:h2hKydl90DgY26cyhErFtNICjSQ= In-Reply-To: Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:66088 List-Id: On 2024-02-18 01:00, Lawrence D'Oliveiro wrote: > On Sat, 17 Feb 2024 14:36:46 +0100, DrPi wrote: > >> My usage is a bit special. The writing process writes a bunch of data in >> a memory buffer then requests this buffer to be transferred to another >> process by way of WM_COPYDATA. > > I thought Windows had pipes. Yes it has, but very rarely used though much better designed than UNIX pipes. See https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea In general Windows has much richer and better API regarding interprocess communication than Linux. After all Windows NT was sort of descendant of VMS, which was light years ahead of UNIX Sys V. In recent times Linux improved, e.g. they added futex stuff etc. BSD is far worse than Linux in respect of API. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de