[libcxx-commits] [libcxx] [tzdb] Replace shared_mutex with mutex. (PR #87929)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 12 09:26:53 PDT 2024


================
@@ -16,7 +16,7 @@
 
 // When threads are not available the locking is not required.
 #ifndef _LIBCPP_HAS_NO_THREADS
-#  include <shared_mutex>
+#  include <mutex>
----------------
EricWF wrote:

Done.

I can't exactly explain _why_ concisely, but the rest I can do.

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


More information about the libcxx-commits mailing list