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-26 06:57:55 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: kcline@optelnow.net (Kevin Cline) Newsgroups: comp.lang.ada Subject: Re: rendez-vous underlying mechanism Date: 26 Mar 2002 06:57:53 -0800 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 24.219.81.150 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017154675 11695 127.0.0.1 (26 Mar 2002 14:57:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 26 Mar 2002 14:57:55 GMT Xref: archiver1.google.com comp.lang.ada:21684 Date: 2002-03-26T14:57:55+00:00 List-Id: "Bozo" wrote in message news:... > Hi all, > > I'm sorry I wasn't clear enough. > I don't use ADA at the moment but I was a brave ADA programmer once. > I use C at the moment and I have a case where synchronous rendez-vous would > be better that traditional asynchrounous intertask communications. > > Does anyone have an idea how to implement that in C with semaphores for > example ? This depends on the underlying OS. If you are using pthreads, then see the manual entry for pthread_cond_wait.