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,c2dda499a002ec3c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-25 17:19:57 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!62.24.128.9.MISMATCH!news-1.opaltelecom.net!newsfeed.icl.net!newsfeed.esat.net!priapus.visi.com!news-out.visi.com!hermes.visi.com!nnxp1.twtelecom.net!news-east.rr.com!chnws02.ne.ipsvc.net!cyclone.ne.ipsvc.net!24.128.8.70!typhoon.ne.ipsvc.net.POSTED!not-for-mail From: "Jeffrey Creem" Newsgroups: comp.lang.ada References: <3c9fc639_2@news.tm.net.my> Subject: Re: rendez-vous underlying mechanism X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Tue, 26 Mar 2002 01:16:34 GMT NNTP-Posting-Host: 66.31.5.146 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.ipsvc.net 1017105394 66.31.5.146 (Mon, 25 Mar 2002 20:16:34 EST) NNTP-Posting-Date: Mon, 25 Mar 2002 20:16:34 EST Organization: ATT Broadband Xref: archiver1.google.com comp.lang.ada:21666 Date: 2002-03-26T01:16:34+00:00 List-Id: Wow..This one just never dies.. GNAT does not translae Ada code to C. Prior versions of GNAT used to generate the main binder program in C (calls to elaborate the packages followed by a call to the main program) but even that is now gone. There are compiler switches that you can use to see the expanded Ada code but this is certainly not C. As to the original question, seems like a pretty boring rendevous since C has no tasking. Now, if you say C and some particular tasking run time library than one could begin to construct something similar to the Ada. Which thread library is being targeted? "Adrian Hoe" wrote in message news:3c9fc639_2@news.tm.net.my... > Bozo wrote: > > > > Hi all, > > > > I'm jus wondering how a rendez-vous is done internally. I'd like to do > > something resembling a rendez-vous in C and that would help me. > > > > Thanks > > > Why C? Ada allows you to define tasks explicitly compare to C. GNAT is > actually "translating" Ada to C. So, you can use GNAT to generate C code > and then examine it. I can't actually remember how to have the C > translation. I had it once some time ago after an incomplete > installation of GNAT. :) > -- > Remove *nospam* to e-mail me. -- Adrian Hoe > -- http://adrianhoe.com