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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d3ac444cc1efa302,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-25 11:10:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news2.telebyte.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!news2.e.nsc.no.POSTED!53ab2750!not-for-mail From: "Frank" Newsgroups: comp.lang.ada Subject: Penalty of calling a protected operation or task-entry. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <8cGcb.25659$os2.355577@news2.e.nsc.no> NNTP-Posting-Host: 148.122.128.186 X-Complaints-To: news-abuse@telenor.net NNTP-Posting-Date: Thu, 25 Sep 2003 20:10:12 MEST X-Trace: news2.ulv.nextra.no 1064513412 148.122.128.186 Date: Thu, 25 Sep 2003 20:09:11 -0700 Xref: archiver1.google.com comp.lang.ada:42917 Date: 2003-09-25T20:09:11-07:00 List-Id: Hi! GNAT 3.15p (WindowsXPProfessional / Linux'es) -------- As I have understood there is a time-penalty when calling a protected operation or task-entry. Im thinking about adminstrative cost of the call, not loss of parallell'ism. My situation is the following: If I have a protected type that has two operation one "read" and one "write". These are called by different tasks. The "write" operation is called very seldom, but the "read" is called very often. Is there some approach to remove penalty from the "read" operation? -------- Can someone point me to some literature or elaborate on this penalty? Frank