acquireLockoutLock( int value, boolean spinwait ) {
static void acquireLockoutLock(int value, boolean spinwait) {
  acquireLockoutLock( int value, boolean spinwait )  {    if (spinwait) {      while (true) {	int lockoutVal = VM_Magic.prepare(VM_BootRecord.the_boot_record,					  VM_Entrypoints.lockoutProcessorField.offset);	if ( lockoutVal == 0) {	  if(VM_Magic.attempt(VM_BootRecord.the_boot_record,			      VM_Entrypoints.lockoutProcessorField.offset,			      0, value))	    break;	}      }      return;    }    // else - no spinwait:    // yield until lockout word is available (0), then attempt to set    while (true) {      int lockoutVal = VM_Magic.prepare(VM_BootRecord.the_boot_record,					VM_Entrypoints.lockoutProcessorField.offset);      if ( lockoutVal != 0) {	if (debug_native) VM_Scheduler.trace("Handshake:acquireLockOutLock",					  "yielding: lockoutVal =",lockoutVal);	VM_Thread.yield();	continue;      }      else {	if(VM_Magic.attempt(VM_BootRecord.the_boot_record,			    VM_Entrypoints.lockoutProcessorField.offset,			    0, value))	  break;      }    }  }  // acquireLockoutLock