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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,366878aecb8dd427 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-11 11:07:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Random Access in Ada.Text_IO files Date: 11 Feb 2003 13:58:50 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: skates.gsfc.nasa.gov 1044990713 15802 128.183.235.92 (11 Feb 2003 19:11:53 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 11 Feb 2003 19:11:53 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:34002 Date: 2003-02-11T19:11:53+00:00 List-Id: "Micha� Morawski" writes: > Sometimes, other task try to analyze the log and the task need to read the > same file. This is very operating system dependent. There is no guarantee that Ada.Text_IO files will allow this. If the two tasks are part of the same program, have them share an in-memory queue of strings, rather than an external file. > and my own module have no acces to stream field of > File_Type. If you are writing your own file package, you should not try build it on top of Text_IO. You might be able to use Ada.Streams.Stream_IO instead. -- -- Stephe