From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:aed:20cd:: with SMTP id 71mr3879837qtb.346.1615984743967; Wed, 17 Mar 2021 05:39:03 -0700 (PDT) X-Received: by 2002:a25:b906:: with SMTP id x6mr3695107ybj.504.1615984743804; Wed, 17 Mar 2021 05:39:03 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.uzoreto.com!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 17 Mar 2021 05:39:03 -0700 (PDT) Injection-Info: google-groups.googlegroups.com; posting-host=84.209.88.37; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 84.209.88.37 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6aad7864-7b88-4e73-b4fe-f4cd30673b28n@googlegroups.com> Subject: Attempting to create file i task From: reinert Injection-Date: Wed, 17 Mar 2021 12:39:03 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61579 List-Id: Hello, Assume task A starts subsequentially two times sub-sequentially (but not overlapping in time). It creates and closes a file: define my_file : File_Type; begin Create (File => my_file, Mode => Out_File, Name => my_file_name); ..some statements... Close(my_file); end; I now have the strange experience that task A overwrites the file created the first time? Any idea where to look for the error? reinert