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-Thread: 103376,470860aa3e635a7 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!wns14feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT for MS Visual Studio References: <13duou81kg3sd1c@corp.supernews.com> <4xsl4zw3bp.fsf@hod.lan.m-e-leypold.de> <1191357491.860178.230380@22g2000hsm.googlegroups.com> <4702ADCC.7080209@obry.net> <1191439439.120567.172630@g4g2000hsf.googlegroups.com> <4703F02D.3030207@obry.net> <1191682021.844225.236870@g4g2000hsf.googlegroups.com> <4707A3D0.3070702@obry.net> <47088904.1090201@obry.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1191975665 12.201.97.213 (Wed, 10 Oct 2007 00:21:05 GMT) NNTP-Posting-Date: Wed, 10 Oct 2007 00:21:05 GMT Organization: AT&T ASP.att.net Date: Wed, 10 Oct 2007 00:21:05 GMT Xref: g2news2.google.com comp.lang.ada:2395 Date: 2007-10-10T00:21:05+00:00 List-Id: Randy Brukardt wrote: > > I think that depends on how coupled the application is. For instance, my > spam filter has message tokens that move throughout the system, and the only > synchronized containers needed are the queues for those tokens. Each task is > waiting on a specific queue, operates on the token it receives, and then > puts the token back on a particular queue. No multi-access needed here. I > wrote the queues manually, but I probably would have used a protected > container if one was available. I know of concurrent real-time systems that have used PragmARC.Queue_Bounded_Blocking, and concurrent non-real-time systems that have used PragmARC.Queue_Unbounded_Blocking, successfully. These are basically unprotected queues wrapped in a protected type. -- Jeff Carter "You cheesy lot of second-hand electric donkey-bottom biters." Monty Python & the Holy Grail 14