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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8d2436f043922920 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: GNAT and Ada.Asynchronous_Task_Control Date: Tue, 04 May 2004 17:47:32 +0200 Organization: AdaCL Message-ID: <3111219.u9MCLuGHov@linux1.krischik.com> References: Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1083685812 00 19933 jSn7GHvv0-EcX-B 040504 15:50:12 X-Complaints-To: usenet-abuse@t-online.de X-ID: E26NvYZSZePiHy1jFoyGgO6RZdq3IHH+-tAEIYNA4-SCBMjWFccVUn User-Agent: KNode/0.7.7 Xref: controlnews3.google.com comp.lang.ada:241 Date: 2004-05-04T17:47:32+02:00 List-Id: Frank J. Lhota wrote: > The Windows version of GNAT 3.14p does not implement the optional real > time package Ada.Asynchronous_Task_Control. The Win32 API has the > functions SuspendThread / ResumeThread needed to implement this package. > To actually implement Ada.Asynchronous_Task_Control, we need to remove the > Unimplemented_Unit pragma from the specification and provide the > appropriate body. > > The package body for Ada.Asynchronous_Task_Control in the "adainclude" > directory, however, has empty subprogram bodies. No details are provided > as to how the higher-level, task-related data is to be manipulated should > be manipulated by this package. I recall seeing a more detailed version of > a Ada.Asynchronous_Task_Control body, with comments indicating where the > OS-specific calls need to go. Is this version of the > Ada.Asynchronous_Task_Control body still distributed, and if so, where can > I find it? If you want to extend GNAT you should download the current development version of GNAT from: :ext:anoncvs@savannah.gnu.org:/cvsroot/gcc That is, of course a cvs address. The actual commands for the download are: SET CVSROOT=:ext:anoncvs@savannah.gnu.org:/cvsroot/gcc cvs -qz9 checkout -P gcc This GNAT Version is 2 years more modern then the one you have got. However, I have not been able to compile this version with Windows. Linux is OK. Still you can have a look at the package in question. Either look at the Linux version of the package or perhaps the feature has been included in the current windows version allready. Have Fun. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com