[compiler-rt] [compiler-rt][builtins] Add opt-in pthread_mutex_t locks to libatomic (PR #95326)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 16:23:51 PDT 2024


================
@@ -237,6 +237,14 @@ if(NOT FUCHSIA AND NOT COMPILER_RT_BAREMETAL_BUILD)
   )
 endif()
 
+option(COMPILER_RT_LIBATOMIC_USE_PTHREAD
----------------
MaskRay wrote:

Perhaps this can be the default for Linux if not Android.

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


More information about the llvm-commits mailing list