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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a9ef201032b87ed7 X-Google-Attributes: gid103376,public From: Doug Lewis Subject: Re: Ada file IO & vxworks Date: 1998/08/11 Message-ID: <35D06F35.B8E4D165@ti.com>#1/1 X-Deja-AN: 380094130 Content-Transfer-Encoding: 7bit References: <35CF08D2.BA545027@ti.com> <6qn9ni$5r4$1@usenet.rational.com> Content-Type: text/plain; charset=us-ascii Organization: Raytheon Systems Company Mime-Version: 1.0 Reply-To: d-lewis3@ti.com Newsgroups: comp.lang.ada Date: 1998-08-11T00:00:00+00:00 List-Id: Corey Ashford wrote: > Which Ada compiler are you using? > We're using the Green Hills Ada95 compiler. > Since you aren't closing the file, it's possible that VxWorks and/or > the Ada text_io implementation are buffering up the writes. You > might trying adding a call to Ada.Text_Io.Flush() after any > writes that you want to be seen on the host. However, that will only > flush the Ada side, not the VxWorks side. You may have to close > the file periodically and reopen it with the mode set to Append_File. > Unfortunately no file closes are completing successfully! We've tried just doing a create then close and the code doesn't return from the close. We're getting no exceptions from the Ada code or the os. -- Doug Lewis ---------------------------------- Senior Software Eng - The views expressed are my own & Raytheon Systems Co. - do not necessarily reflect those - of Raytheon Systems Company ----------------------------------