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,3e3949298ed3b36 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.moat.net!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Wed, 30 Jun 2004 18:39:06 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <2k0fllF160eotU1@uni-berlin.de> <2k1114F15uoj8U1@uni-berlin.de> <2k346nF16pckjU1@uni-berlin.de> <2kdn1gF169huU1@uni-berlin.de> Subject: Re: High CPU in tasking Date: Wed, 30 Jun 2004 18:39:30 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: <2qmdnaxjEPyH0n7dRVn-sw@megapath.net> NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-5AFHxCm8sOvSnZm5a8LaPUqUoDDI1GyqAknz+PQ5p81MWruR98cNRVqRQyCCeouYuVPdtGvkhbkT/Lg!Mxhn2U9NKWZKRzCUg9v4xCYerav49TAxnJdQLRjJY5bZDQeRsGex4Vfb6J0o6rxLVVipBb2RKtZd X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: g2news1.google.com comp.lang.ada:2012 Date: 2004-06-30T18:39:30-05:00 List-Id: "Lutz Donnerhacke" wrote in message news:slrnce5cbd.m1.lutz@taranis.iks-jena.de... > * Nick Roberts wrote: ... > > Do you need to explicitly unregister positions? > > I do register readers, because entry families are limited in the number of > distince values possible. So a level of indirection is necessary is provided > by registration. It should be noted that the limitation on the range of protected entry families is a weird limitation of some versions of GNAT, and not one intended/expected by the Ada language. GNAT is the only Ada compiler of the ones I usually test that has this sort of limitation. Janus/Ada, for instance, treats protected entry families as an additional parameter to the entry (which is very different than the way task entry families are implemented). Perhaps you'd have better performance if you didn't need this workaround? Randy.