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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1ea92c0e5255811d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-25 18:25:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!msunews!not-for-mail From: "Chad R. Meiners" Newsgroups: comp.lang.ada Subject: Re: Container libraries Date: Tue, 25 Feb 2003 21:21:02 -0500 Organization: Michigan State University Message-ID: References: <5d6fdb61.0302250317.c49d71a@posting.google.com> <1046214593.420402@master.nyc.kbcfp.com> Reply-To: "Chad R. Meiners" NNTP-Posting-Host: arctic.cse.msu.edu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:34591 Date: 2003-02-25T21:21:02-05:00 List-Id: "Hyman Rosen" wrote in message news:1046214593.420402@master.nyc.kbcfp.com... > Simon Wright wrote: > > What sort of multi-tasking support would _you_ like, then? > > People usually want the wrong sort. If someone needs to access > a container simultaneously from multiple tasks, then they should > privide the synchronization, not the container. Only if the > containers share some internal object do they themselves need to > protect it against concurrent access. I agree with Hyman. I once used the Booch component for a multitasking application, but only in the package bodies because the multitasking interaction needed to be specifically coded into the protected object. I do not think that built in task synchronization is all that helpful, but as always there shouldn't be any nasty global effects in component libraries that prevents two separately allocated data objects from being used at the same time by different tasks. -CRM