[PATCH] libc++ tests: wait_until.pass test sporadically fails (bug 21998)

Oleg Ranevskyy llvm.mail.list at gmail.com
Sun Dec 21 08:23:41 PST 2014


Hi howard.hinnant,

Hello Howard,

While running the libc++ tests on our ARM boards, we encounter sporadic failures of the two tests:
test/std/thread/futures/futures.shared_future/wait_until.pass.cpp
test/std/thread/futures/futures.unique_future/wait_until.pass.cpp

The worker thread might not finish yet when the main thread checks its result.
I filed the bug 21998 for this case: http://llvm.org/bugs/show_bug.cgi?id=21998

Would you be able to review this please?
Thank you.
Oleg

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6750

Files:
  test/std/thread/futures/futures.shared_future/wait_until.pass.cpp
  test/std/thread/futures/futures.unique_future/wait_until.pass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6750.17540.patch
Type: text/x-patch
Size: 15141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141221/16171a34/attachment.bin>


More information about the llvm-commits mailing list