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: Mon, 19 Feb 2024 09:39:45 +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: Mon, 19 Feb 2024 08:39:45 -0000 (UTC) Injection-Info: dont-email.me; posting-host="143ea3e9f4ad0c904681a1e454a6a0bb"; logging-data="1880881"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BoNjRAvmROfbK1tTfJyA7ZFdK4NmZv8g=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:AwpZhDp7SAW+CIVNkTr8AyC1bb0= In-Reply-To: Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:66102 List-Id: On 2024-02-19 00:47, Lawrence D'Oliveiro wrote: > On Sun, 18 Feb 2024 23:10:10 +0100, Dmitry A. Kazakov wrote: > >>>> In general Windows has much richer and better API regarding >>>> interprocess communication than Linux. >>> >>> So why is it that Windows programs tend to avoid running multiple >>> processes? >> >> Because there is no need in multiple processes most of the time. Windows >> has a different philosophy and services which preclude the process orgy >> so characteristic to UNIX. For example, Windows has and collects many >> resources when a process dies. So you do not need a process monitoring >> file locks, because there is no any. > > Windows is the one that keeps files locked, *nix systems typically do not. Not Windows, It is the applications that have GUI died and files still open. If you want UNIX behavior open all files for shared I/O. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de