From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Attempting to create file i task
Date: Wed, 17 Mar 2021 13:49:21 +0100 [thread overview]
Message-ID: <s2stsh$jcs$1@dont-email.me> (raw)
In-Reply-To: <6aad7864-7b88-4e73-b4fe-f4cd30673b28n@googlegroups.com>
Le 17/03/2021 à 13:39, reinert a écrit :
> 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?
>
Create always "creates" the file, i.e. if it exists, it is overwritten.
What would you expect?
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr
next prev parent reply other threads:[~2021-03-17 12:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-17 12:39 Attempting to create file i task reinert
2021-03-17 12:49 ` J-P. Rosen [this message]
2021-03-17 14:17 ` reinert
2021-03-17 14:21 ` reinert
2021-03-17 14:34 ` Jeffrey R. Carter
2021-03-17 15:01 ` Dmitry A. Kazakov
2021-03-17 16:19 ` J-P. Rosen
2021-03-17 16:56 ` reinert
2021-03-17 20:13 ` Simon Wright
2021-03-17 14:18 ` AdaMagica
2021-03-17 14:33 ` Jeffrey R. Carter
2021-03-17 14:34 ` reinert
2021-03-17 14:47 ` AdaMagica
2021-03-17 15:37 ` Jeffrey R. Carter
2021-03-17 16:56 ` AdaMagica
2021-03-17 15:20 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox