[libcxx-commits] [libcxx] [libc++] Adds shared resource helper. (PR #72529)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 5 09:52:11 PST 2023


================
@@ -139,6 +139,12 @@
 // #   define _LIBCPP_AVAILABILITY_HAS_NO_TZDB
 #   define _LIBCPP_AVAILABILITY_TZDB
 
+    // This controls the availability of the shared resource code.
+    // This is used in syncstream to synchronize write operations,
+    // but the code is generic and can be used for similar purposes.
+// #   define _LIBCPP_AVAILABILITY_HAS_NO_SHARED_RESOURCE
----------------
ldionne wrote:

This needs to be adjusted on top of `main`.

https://github.com/llvm/llvm-project/pull/72529


More information about the libcxx-commits mailing list