Changeset 23925 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 21, 2009 12:44:27 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53730
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGF.cpp
r23145 r23925 620 620 * Wait. 621 621 */ 622 uint32_t cPollHack = 1; /** @todo this interface is horrible now that we're using lots of VMR3ReqCall stuff all over DBGF. */ 622 623 for (;;) 623 624 { … … 626 627 && !VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_REQUEST)) 627 628 { 628 int rc = RTSemPingWait(&pVM->dbgf.s.PingPong, 250);629 int rc = RTSemPingWait(&pVM->dbgf.s.PingPong, cPollHack); 629 630 if (RT_SUCCESS(rc)) 630 631 break; … … 637 638 638 639 if (VM_FF_ISPENDING(pVM, VM_FF_EMT_RENDEZVOUS)) 640 { 639 641 rc = VMMR3EmtRendezvousFF(pVM, pVCpu); 642 cPollHack = 1; 643 } 640 644 else if ( VM_FF_ISPENDING(pVM, VM_FF_REQUEST) 641 645 || VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_REQUEST)) … … 646 650 rc = VMR3ReqProcessU(pVM->pUVM, pVCpu->idCpu); 647 651 LogFlow(("dbgfR3VMMWait: VMR3ReqProcess -> %Rrc rcRet=%Rrc\n", rc, rcRet)); 652 cPollHack = 1; 648 653 } 649 654 else 655 { 650 656 rc = VINF_SUCCESS; 657 if (cPollHack < 120) 658 cPollHack++; 659 } 651 660 652 661 if (rc >= VINF_EM_FIRST && rc <= VINF_EM_LAST)
Note:
See TracChangeset
for help on using the changeset viewer.