home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!transfer.stratus.com!transfer.stratus.com!usenet
- From: dan@quiensabe.az.stratus.com (Dan Danz)
- Newsgroups: comp.sys.stratus
- Subject: Re: Shared Virtual Memory & mp_debug (CORRECTION)
- Date: 7 Jan 1993 04:36:56 GMT
- Organization: Stratus Computer Inc, Marlboro MA
- Lines: 19
- Message-ID: <1igc18INN4ja@transfer.stratus.com>
- References: <1igbkjINN4fo@transfer.stratus.com>
- Reply-To: dan@az.stratus.com
- NNTP-Posting-Host: quiensabe.az.stratus.com
-
- There's a very serious mistake that crept into a last minute change
- I made to my previous post on this subject:
-
- > Initialize the lock word region so that any lock words in it contain a value
- > of minus one (0x7FFF). Then, use the following algorithm whenever you need
- > to perform a critical section of code.
-
- The value of minus one is 0xFFFF, not 0x7FFF. If you were to initialize
- with 0x7FFF or any other value that does not have the most significant bit set,
- all lock words would appear to be initially locked !!!!
-
- Sorry 'bout the slipup.
-
- --
- L. W. "Dan" Danz (WA5SKM) VOS Mail: Dan_Danz@vos.stratus.com
- Sr Consulting Software SE NeXT Mail: dan@az.stratus.com
- Customer Assistance Center Voice Mail/Pager: (602) 852-3107
- Telecommunications Division Customer Service: (800) 828-8513
- Stratus Computer, Inc. 4455 E. Camelback #115-A, Phoenix AZ 85018
-