home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / stratus / 90 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.3 KB

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