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-Thread: a07f3367d7,8e11100f675ea2df X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.80.200 with SMTP id t8mr7613827pax.1.1357063491141; Tue, 01 Jan 2013 10:04:51 -0800 (PST) Path: s9ni76437pbb.0!nntp.google.com!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 01 Jan 2013 12:04:50 -0600 Date: Tue, 01 Jan 2013 09:59:04 -0800 From: Charles Hixson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: asynchronous task communication References: In-Reply-To: Message-ID: X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 216.244.16.210 X-Trace: sv3-ofcTIilXRlk/IbG766ss+2PLW6AEJ/GPfCHqsm7JWLpeUI5I6gXWHjpRKDgWPs8ijecolC9J6o4uXDs!MGu4jTJSaTPxZl39+Ho4r9x0pF5jFjrjyfEG232I3960+9D8bSWClSdLOup/cyKwSyMcAF2c3CHq!41zB1EVNlTTXQmQPffF7Xg== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2002 X-Received-Bytes: 2143 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2013-01-01T09:59:04-08:00 List-Id: On 12/31/2012 08:48 PM, tmoran@acm.org wrote: >> OTOH, I think I've found a solution: >> For each cell, implement it as a record of two protected objects. One >> of which is the cell, as previously conceived, and the other of which is >> a mailbox. The mailbox would never block for long. I am worried a bit >> about the increase in RAM requirements, but perhaps that can't be >> avoided. At least it allows nearly non-blocking communication. > So this is like an apartment building with each tenant being a cell, > and a wall of mailboxes in the lobby? With blocking only occurring when > somebody wants to deposit mail in a box where the tenant is in the process > of extracting his mail. As opposed to having a concierge who may be busy > with Smith when Jones wants something. That's the idea.