From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Exclusive file access Date: Thu, 27 Aug 2015 19:29:24 -0400 Organization: Home - http://www.obry.net Message-ID: <1440718164.9455.3.camel@obry.net> References: Reply-To: pascal@obry.net NNTP-Posting-Host: 3JyyznLc5Ohq5rBiRqD0PA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Complaints-To: abuse@aioe.org X-Mailer: Evolution 3.16.3-1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:27626 Date: 2015-08-27T19:29:24-04:00 List-Id: Le vendredi 28 ao=C3=BBt 2015 =C3=A0 01:16 +0200, Georg Bauhaus a =C3=A9cri= t : > If in Windows a process cannot access a file that is in use, > I think that an effect of the normal reaction of Windows, isn't it? > So, a true Ada for Windows compiler might reflect this OS behavior. I think even on Windows a file can be opened with concurrent access. As already said the behavior is unspecified. Ada RM only talk about dealing with files in the same executable/process. BTW, to open a file in shared mode it is possible to use a form string of Open routine. --=20 Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://v2p.fr.eu.org http://www.obry.net gpg --keyserver keys.gnupg.net --recv-key F949BD3B