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

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 2 07:43:57 PDT 2022


ldionne added a subscriber: libc++ vendors.
ldionne added a comment.

This patch was put together in collaboration with a performance engineer on our side. It was tested with a use case that was previously problematic and this patch did solve the issue. We believe this should be an improvement for all OSes if their `pthread_mutex_lock` is reasonable (which is the case on Linux and Apple at least), but it would definitely be interesting to have other folks' eyes on this to get other opinions. Adding libc++ vendors for awareness.


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