Changeset 35953 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Feb 14, 2011 10:19:01 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r35947 r35953 667 667 if (fCompleted) 668 668 break; 669 670 /* Then wait a little while ... */671 progress->WaitForCompletion(1 /* ms */);672 669 } 673 670 … … 694 691 break; 695 692 } 696 697 /* Don't hog the CPU in a busy loop! */698 /** @todo r=bird: I believe I already mentioned that this problem is better699 * solved by using WaitForCompletion and GetProcessOutput with timeouts. The700 * 1ms hack above is not what I had in mind. This quick fix must go away. */701 if (cbOutputData <= 0)702 {703 if (cMilliesSleep < 100)704 cMilliesSleep++;705 RTThreadSleep(cMilliesSleep);706 }707 else708 cMilliesSleep = 0;709 693 } /* while */ 710 694
Note:
See TracChangeset
for help on using the changeset viewer.