Changeset 31381 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Aug 5, 2010 7:44:08 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r31070 r31381 339 339 { 340 340 /* Calculate timeout value left after process has been started. */ 341 uint64_t u64 Diff= RTTimeMilliTS() - u64StartMS;342 /* * @todo Check for uint64_t vs. uint32_t here!*/343 if (u32TimeoutMS > u64 Diff) /* Is timeout still bigger than current difference? */344 { 345 u32TimeoutMS = u32TimeoutMS - u64Diff;341 uint64_t u64Elapsed = RTTimeMilliTS() - u64StartMS; 342 /* Is timeout still bigger than current difference? */ 343 if (u32TimeoutMS > u64Elapsed) 344 { 345 u32TimeoutMS -= (uint32_t)u64Elapsed; 346 346 if (fVerbose) 347 347 RTPrintf("Waiting for process to exit (%ums left) ...\n", u32TimeoutMS);
Note:
See TracChangeset
for help on using the changeset viewer.