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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8eff44ec1bcf8433 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 11:58:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9qctpn$lil$1@news.huji.ac.il> <3BCC01B1.18C18C98@free.fr> <3BCC6CB7.20BAA30D@boeing.com> Subject: Re: Container reqs Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Tue, 16 Oct 2001 14:57:56 EDT Organization: http://www.newsranger.com Date: Tue, 16 Oct 2001 18:57:56 GMT Xref: archiver1.google.com comp.lang.ada:14727 Date: 2001-10-16T18:57:56+00:00 List-Id: In article <3BCC6CB7.20BAA30D@boeing.com>, Jeffrey Carter says... > >Jean-Marc Bourguet wrote: >> >> I'm not for making a container "threadsafe" to the point where >> several tasks may modify the container without providing their >> synchronisation. .. >This is an interesting assertion, considering that a protected queue is >a useful and common form of intertask communication. More like "nessecary". Its one of the only safe ways to gender-bender two "server" tasks together. You could put the queue in one of the servers, then create a new client task to do nothing but ask for queue entries and pass them to the other server. However, that creates servers that have two completely different services (generally a bad idea), adds a task/thread to the system, and is just all-around ugly. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.