[v3] fix PR 54297 - segfaults with std::async

Submitted by Jonathan Wakely on Aug. 26, 2012, 2:59 p.m.

Details

Message ID CAH6eHdQYiw1mQEd3jk0+9TDVO8VbkQ-si75TZK7kJN9x9xPAgw@mail.gmail.com
State New
Headers show

Commit Message

Jonathan Wakely Aug. 26, 2012, 2:59 p.m.
* testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep.

Fixed on trunk and 4.7 branch.

Patch hide | download patch | download mbox

--- a/libstdc++-v3/testsuite/30_threads/async/54297.cc
+++ b/libstdc++-v3/testsuite/30_threads/async/54297.cc
@@ -5,6 +5,7 @@ 
 // { dg-require-cstdint "" }
 // { dg-require-gthreads "" }
 // { dg-require-atomic-builtins "" }
+// { dg-require-nanosleep "" }

 // Copyright (C) 2012 Free Software Foundation, Inc.
 //