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-18 10:53:24 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!diablo.theplanet.net!newsfeed.esat.net!newsfeed.online.be!zur.uu.net!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: Container reqs X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3BCF106E.254BF0D6@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: <9qctpn$lil$1@news.huji.ac.il> <3BCC01B1.18C18C98@free.fr> <3BCC6CB7.20BAA30D@boeing.com> <3BCD2EC3.3B3C4498@free.fr> <3BCD91D9.C77668AA@free.fr> <8ghz7.32783$ev2.39537@www.newsranger.com> <3BCDB29B.EBD01D8C@free.fr> <3BCE9ACE.40B6BC3D@free.fr> Mime-Version: 1.0 Date: Thu, 18 Oct 2001 17:25:02 GMT X-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:14901 Date: 2001-10-18T17:25:02+00:00 List-Id: Jean-Marc Bourguet wrote: > > Lutz Donnerhacke wrote: > > > > * Jean-Marc Bourguet wrote: > > >But I don't think it is a good argument in favor of working hard and > > >complexifying the library in order to be able to modify a tree from > > >several tasks using shared iterators. > > > > Multiple tasks modifying the same data structure simultanously is a common > > requirement for any larger application. Modifying an ordered structure such as a tree while iterating seems like a recipe for disaster, even from a single thread. By "ordered" I mean a structure where the position of an Element within the structure is determined by the value of the Element. What is the next Element in the structure if the current Element has moved? -- Jeffrey Carter