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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8af9e3a438ec928a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!wn14feed!worldnet.att.net!attbi_s04.POSTED!53ab2750!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: <41400af9$1@dnews.tpgi.com.au> Subject: Re: process blocking X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-ID: NNTP-Posting-Host: 24.21.42.251 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s04 1094785639 24.21.42.251 (Fri, 10 Sep 2004 03:07:19 GMT) NNTP-Posting-Date: Fri, 10 Sep 2004 03:07:19 GMT Organization: Comcast Online Date: Fri, 10 Sep 2004 03:07:19 GMT Xref: g2news1.google.com comp.lang.ada:3554 Date: 2004-09-10T03:07:19+00:00 List-Id: In kinda pseudo-code form: If you set up the main process pMain with a loop, something like: task pMain is begin loop accept Step1; ... some code ... accept Step2; end loop; end pMain; Then have the process p1 rendevous with the two in sequence: myTask.Step1; ... some code ... myTask.Step2; You should get the described behaviour. Steve (The Duck) "P Hull" wrote in message news:41400af9$1@dnews.tpgi.com.au... > Hi, I know this is possible, but how does one go about having a process (p1) > siezing control of another process (pMain) such that no other process (p2, > p3, .. pn) is able to access pMain? I am guessing you define one channel and > maintain access to this channel? I have no idea how to implement such > blocking. > > any help most appreciated > > thanks > peter > >