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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,98fcd569e727e97c X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Tasking Techniques - Opinions? Date: 1997/06/07 Message-ID: #1/1 X-Deja-AN: 246810417 References: <5n2hjr$ohm$1@news.pacifier.com> <3394ecbe.215389049@news.pcisys.net> <3395A448.41C6@magellan.bgm.link.com> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-06-07T00:00:00+00:00 List-Id: Jon says <<> Absolutely true. However, do be aware that protected types have > significant overhead -- not as much as task rendezvous, but on the > order of ten times a procedure call. I find this surprising. On what do you base this 10X figure? >> surprisingly low? or suprisingly high? The difference will vary widely. If taking the necessary lock requires a kernel call, as it does when running over some OS's, then the factor of 10 will be wildly optimistic. Protected types were designed to be efficient on bare hardware, their implementation over operating stystems is often disappointingly inefficient.