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,3ccb707f4c91a5f2 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Java vs Ada 95 (Was Re: Once again, Ada absent from DoD SBIR solicitation) Date: 1996/11/03 Message-ID: #1/1 X-Deja-AN: 194212767 references: <325BC3B3.41C6@hso.link.com> <55gkch$gg6@fozzie.sun3.iaf.nl> organization: New York University newsgroups: comp.lang.ada Date: 1996-11-03T00:00:00+00:00 List-Id: Geert said ">In the more general case a very simple spin-lock is enough and the >overhead should only be one memory-read when the object is not locked. >String objects are locked almost never and when they are locked they >are only locked for a short time." What do you mean by a very simple spin lock in a uniprocessor environment. Can you explain, are you talking about an EWD style implementation of semaphores using sequential memory models?