comp.lang.ada
 help / color / mirror / Atom feed
From: reinert <reinkor@gmail.com>
Subject: Attempting to create file i task
Date: Wed, 17 Mar 2021 05:39:03 -0700 (PDT)	[thread overview]
Message-ID: <6aad7864-7b88-4e73-b4fe-f4cd30673b28n@googlegroups.com> (raw)

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

  

             reply	other threads:[~2021-03-17 12:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-17 12:39 reinert [this message]
2021-03-17 12:49 ` Attempting to create file i task J-P. Rosen
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