[libcxx-commits] [PATCH] D126882: [libc++] Do not yield from __sp_mut::lock()

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 2 09:47:53 PDT 2022


Mordante added inline comments.


================
Comment at: libcxx/src/memory.cpp:141
 
-static constexpr std::size_t __sp_mut_count = 16;
+static constexpr std::size_t __sp_mut_count = 32;
 static constinit __libcpp_mutex_t mut_back[__sp_mut_count] =
----------------
Since you change this value it might be a good moment to document why 32 is "the right" value.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126882/new/

https://reviews.llvm.org/D126882



More information about the libcxx-commits mailing list