if (VM.VerifyAssertions) VM_Scheduler.assert(t.next == null); if (VM.VerifyAssertions) VM_Scheduler.assert((t.waitFdRead >= 0||t.waitFdWrite >= 0) && t.waitFdReady == false);
if (VM.VerifyAssertions) VM_Scheduler._assert(t.next == null); if (VM.VerifyAssertions) VM_Scheduler._assert((t.waitFdRead >= 0||t.waitFdWrite >= 0) && t.waitFdReady == false);
  void enqueue(VM_Thread t) {    if (VM.BuildForEventLogging && VM.EventLoggingEnabled) VM_EventLogger.logEnqueue(t, id);    if (VM.VerifyAssertions) VM_Scheduler.assert(t.next == null); // not currently on any other queue    if (VM.VerifyAssertions) VM_Scheduler.assert((t.waitFdRead >= 0||t.waitFdWrite >= 0) && t.waitFdReady == false);          // trace("VM_ThreadIOQueue.enqueue: before ");          if (head == null) head = t;    else tail.next = t;    tail = t;    ++length;          // trace("VM_ThreadIOQueue.enqueue: ");  }