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: Fast locking (Was Re: Java vs Ada 95) Date: 1996/11/07 Message-ID: #1/1 X-Deja-AN: 195208489 references: <325BC3B3.41C6@hso.link.com> <55gkch$gg6@fozzie.sun3.iaf.nl> <55o4g4$ki8@fozzie.sun3.iaf.nl> <1996Nov5.235745.1@eisner> <55r16k$m00@fozzie.sun3.iaf.nl> <1996Nov7.073254.1@eisner> organization: New York University newsgroups: comp.lang.ada Date: 1996-11-07T00:00:00+00:00 List-Id: Geert says "> I can't imagine there are many systems around these days that do not > provide efficient test-and-set semantics. Even the 8088 processor that > does not directly have a test-and-set instruction can easily emulate > one by doing an atomic swap between a processor register and a memory > location. On very simple processors it is almost always possible to > block all interrupts while doing the test-and-set." Your imagination is deficient. Examples are the RS6000 and all earlier MIPS chips. There are others!