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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8eff44ec1bcf8433 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 02:46:15 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news2-1.free.fr!not-for-mail Message-ID: <3BCC01B1.18C18C98@free.fr> Date: Tue, 16 Oct 2001 11:45:21 +0200 From: Jean-Marc Bourguet X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Container reqs References: <9qctpn$lil$1@news.huji.ac.il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Organization: Guest of ProXad - France NNTP-Posting-Date: 16 Oct 2001 11:46:14 MEST NNTP-Posting-Host: 158.140.208.29 X-Trace: 1003225574 news2-1.free.fr 194 158.140.208.29 X-Complaints-To: abuse@proxad.net Xref: archiver1.google.com comp.lang.ada:14642 Date: 2001-10-16T11:46:14+02:00 List-Id: Lutz Donnerhacke wrote: > >* Standard iteration schemes over the various containers (I want both active > >and passive versions) > > Keep them threadsafe and multiaccessed, i.e. allow the usage of active > Iterator to create further Iterators which in turn modify the structure. 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. -- Jean-Marc