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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dcf610fdf7f93ed0 X-Google-Attributes: gid103376,public From: dewarr@my-dejanews.com Subject: Re: Tell this C programmer about Ada and realtime... Date: 1998/09/21 Message-ID: <6u6f6l$q34$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 393406414 References: <360179F8.24DE@ix.netcom.com> <6u5nsf$b28@acmey.gatech.edu> <6u654b$qo6@acmez.gatech.edu> X-Http-Proxy: 1.0 x9.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Sep 21 21:07:33 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/2.02 (OS/2; I) Date: 1998-09-21T00:00:00+00:00 List-Id: In article <6u654b$qo6@acmez.gatech.edu>, jm59@prism.gatech.edu (John M. Mills) wrote: > Rudely and swiftly following up my own post, > jm59@prism.gatech.edu (John M. Mills) ad-libbed: > > >Note: We found this works very easily if the 'main' is in GNAT, but > >requires that you explicitly force task instantiation if your main is [say] > Think I should have said: ^^^^^^^^^^^^^^^^^^---'elaboration' > >in C. I can get more info on this if you turn out to need it. > > As my father says, "A fool is someone who is wrong in a loud voice". Sorry. Yes, of course you need to arrange for elaboration. This is done as described in the Ada standard, namely by calling the adainit() routine generated by the binder. I guess different people have different thresholds of "very easy", but adding one call to adainit() certainly falls into that category for me! -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum