VirtualBox

Ignore:
Timestamp:
Feb 14, 2011 10:19:01 AM (14 years ago)
Author:
vboxsync
Message:

VBoxManage/GuestCtrl: Not needed anymore due to r70012.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp

    r35947 r35953  
    667667                    if (fCompleted)
    668668                        break;
    669 
    670                     /* Then wait a little while ... */
    671                     progress->WaitForCompletion(1 /* ms */);
    672669                }
    673670
     
    694691                    break;
    695692                }
    696 
    697                 /* Don't hog the CPU in a busy loop! */
    698 /** @todo r=bird: I believe I already mentioned that this problem is better
    699 * solved by using WaitForCompletion and GetProcessOutput with timeouts.  The
    700 * 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                 else
    708                     cMilliesSleep = 0;
    709693            } /* while */
    710694
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette