This is an archive of the discontinued LLVM Phabricator instance.

[libcxx][SystemZ][z/OS] Update libcxx/src/mutex.cpp to support POSIX(OFF)
AbandonedPublic

Authored by DanielMcIntosh-IBM on Nov 2 2021, 2:44 PM.

Details

Reviewers
mclow.lists
jroelofs
compnerd
thakis
Quuxplusone
ldionne
Group Reviewers
Restricted Project
Summary

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, D112319

Diff Detail

Event Timeline

DanielMcIntosh-IBM requested review of this revision.Nov 2 2021, 2:44 PM
DanielMcIntosh-IBM created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2021, 2:44 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript

Move new test inside #if TEST_STD_VER >= 11 to fix failure in C++03 CI

Update function names as a result of changes to D110349

Rebase and update intentation to match the rest of the file