Adding timeEndPeriod to Synchronize function, see bug for details.
BUG=748 TEST=Win try bots. Review URL: https://webrtc-codereview.appspot.com/1043005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3383 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
efae5d5901
commit
c7e935f5eb
@ -76,7 +76,8 @@ void Synchronize(WindowsHelpTimer* help_timer) {
|
||||
::Sleep(0);
|
||||
} while ((ft0.dwHighDateTime == ft1.dwHighDateTime) &&
|
||||
(ft0.dwLowDateTime == ft1.dwLowDateTime));
|
||||
help_timer->_ref_point.file_time = ft1;
|
||||
help_timer->_ref_point.file_time = ft1;
|
||||
timeEndPeriod(1);
|
||||
}
|
||||
|
||||
void get_time(WindowsHelpTimer* help_timer, FILETIME& current_time) {
|
||||
|
Loading…
Reference in New Issue
Block a user