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-7-bit X-Google-Thread: 103376,4c10a0ea93fa7159,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-20 20:04:04 PST From: Tomas Hlavaty Newsgroups: comp.lang.ada Subject: Direct_IO and Flush? Date: Mon, 19 Mar 2001 19:55:58 +0100 Organization: Czech Technical University Message-ID: <3AB6563E.250B06E5@labe.felk.cvut.cz> NNTP-Posting-Host: bela.felk.cvut.cz MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ns.felk.cvut.cz 985027502 43507 147.32.85.107 (19 Mar 2001 18:45:02 GMT) X-Complaints-To: usenet@ns.felk.cvut.cz NNTP-Posting-Date: Mon, 19 Mar 2001 18:45:02 +0000 (UTC) X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: cs, en Path: supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!skynet.be!newsfeed00.sul.t-online.de!t-online.de!stueberl.r-kom.de!news-ffm.transmedia.de!news1.transmedia.de!news-FFM2.ecrc.net!news.cesnet.cz!news.felk.cvut.cz!not-for-mail Xref: supernews.google.com comp.lang.ada:5954 Date: 2001-03-19T19:55:58+01:00 List-Id: Hi. I have two processes A and B under Linux/GNAT. The process A writes data to file (using Direct_IO) and the process B reads this file. But the Direct_IO is buffered. Is there any possibility how to flush Direct_IO (or turn off buffering) or should I use (and reimplement my source) Ada.Streams? Thanks Tomas