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,3d841c019952cb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-01 20:56:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!wn11feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Reply-To: "James S. Rogers" From: "James S. Rogers" Newsgroups: comp.lang.ada References: Subject: Re: ADA Tasks 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: Mon, 02 Dec 2002 04:56:01 GMT NNTP-Posting-Host: 12.86.35.201 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1038804961 12.86.35.201 (Mon, 02 Dec 2002 04:56:01 GMT) NNTP-Posting-Date: Mon, 02 Dec 2002 04:56:01 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:31332 Date: 2002-12-02T04:56:01+00:00 List-Id: "Khuram Imtiaz" wrote in message news:a5a588a6.0212011837.5e378fd6@posting.google.com... > Is it possible to have tasks which contain both (entries/accepts and > calls).Could this be a bad idea? If so, why? can someone explain it > with a pseudo code. I would appreciate your help in this regard. There are two fundamental ways for tasks to communicate with each other. The oldest is the Rendezvous. The newest is protected objects. The Rendezvous provides direct, synchronous communication between tasks. Protected objects allow indirect, asynchronous communication through shared data. There is no way to define a "call" other than an Entry or a protected operation between tasks. Jim Rogers