[libcxx-commits] [PATCH] D89871: [libcxxabi] Stub out 'sleep' call when _LIBCXXABI_HAS_NO_THREADS is defined.
Hafiz Abid Qadeer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 21 12:59:13 PDT 2020
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG272279a1c0fa: [libcxxabi] Stub out 'sleep' call when _LIBCXXABI_HAS_NO_THREADS is defined. (authored by abidh).
Herald added a reviewer: libc++abi.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89871/new/
https://reviews.llvm.org/D89871
Files:
libcxxabi/test/test_exception_storage.pass.cpp
Index: libcxxabi/test/test_exception_storage.pass.cpp
===================================================================
--- libcxxabi/test/test_exception_storage.pass.cpp
+++ libcxxabi/test/test_exception_storage.pass.cpp
@@ -29,7 +29,9 @@
std::printf("Got different globals!\n");
*result = (size_t) glob1;
+#ifndef _LIBCXXABI_HAS_NO_THREADS
sleep ( 1 );
+#endif
return parm;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89871.299789.patch
Type: text/x-patch
Size: 409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201021/b77738a5/attachment.bin>
More information about the libcxx-commits
mailing list