[LLVMbugs] [Bug 13721] sleep_for(std::chrono::duration<T>::max()) does not sleep at all for (T > uint32_t)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 30 12:16:38 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13721

Howard Hinnant <hhinnant at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Howard Hinnant <hhinnant at apple.com> 2012-08-30 14:16:38 CDT ---
Fix Committed revision 162925.

I treated sleep_for, sleep_until, and condition_variable wait_for and
wait_until.  I did not treat condition_variable_any as the spec is stated in
terms of duration arithmetic.  And I did not treat the timed waits for mutexes.
 Overflowing there is clearly an abuse of the facility.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list