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,8eff44ec1bcf8433 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 06:31:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!howland.erols.net!cpk-news-hub1.bbnplanet.com!chcgil2-snf1.gtei.net!news.gtei.net!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: Container reqs Date: Tue, 16 Oct 2001 15:20:19 +0200 Organization: The Hebrew University of Jerusalem Message-ID: <9qhcd2$amt$1@news.huji.ac.il> References: <9qctpn$lil$1@news.huji.ac.il> <3BCC01B1.18C18C98@free.fr> NNTP-Posting-Host: di2-43.dialin.huji.ac.il X-Trace: news.huji.ac.il 1003238626 10973 132.64.12.43 (16 Oct 2001 13:23:46 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Tue, 16 Oct 2001 13:23:46 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: archiver1.google.com comp.lang.ada:14668 Date: 2001-10-16T15:20:19+02:00 List-Id: Jean-Marc Bourguet wrote in message news:3BCC01B1.18C18C98@free.fr... > I'm not for making a container "threadsafe" to the point where > several tasks may modify the container without providing their > synchronisation. > In my experience > * most containers are accessed only by one task > * for those who are not, an explicit synchronisation is needed for > other > purpose as the container is not the only part member of the > datastructure > which has to be modified atomically. > I agree, that we should not attempt to make everything protected. Ehud