Changeset 41156 in webkit for trunk/JavaScriptCore/wtf/ThreadingWin.cpp
- Timestamp:
- Feb 23, 2009, 2:37:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/ThreadingWin.cpp
r40122 r41156 458 458 return false; 459 459 460 // Time is too far in the future (and would overflow unsigned long) - wait forever. 461 if (absoluteTime - currentTime > static_cast<double>(INT_MAX) / 1000.0) { 462 wait(mutex); 463 return true; 464 } 465 460 466 double intervalMilliseconds = (absoluteTime - currentTime) * 1000.0; 461 if (intervalMilliseconds >= INT_MAX)462 intervalMilliseconds = INT_MAX;463 464 467 return m_condition.timedWait(mutex.impl(), static_cast<unsigned long>(intervalMilliseconds)); 465 468 }
Note:
See TracChangeset
for help on using the changeset viewer.