[libcxx-commits] [PATCH] D113058: [libcxx][SystemZ][z/OS] Update libcxx/src/mutex.cpp to support POSIX(OFF)

Daniel McIntosh via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 2 14:44:04 PDT 2021


DanielMcIntosh-IBM created this revision.
DanielMcIntosh-IBM added reviewers: mclow.lists, jroelofs, compnerd, thakis, Quuxplusone, ldionne.
DanielMcIntosh-IBM requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Stop std::__call_once from performing synchronization when we're in a
single-threaded application in order to prevent calls to mutex functions
when the threading API is disabled.

Depends on D110349 <https://reviews.llvm.org/D110349>, D112319 <https://reviews.llvm.org/D112319>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113058

Files:
  libcxx/src/mutex.cpp
  libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113058.384242.patch
Type: text/x-patch
Size: 7018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211102/4ef84aa4/attachment.bin>


More information about the libcxx-commits mailing list