This is an archive of the discontinued LLVM Phabricator instance.

[libc][NFC] Move the mutex implementation into a utility class.
ClosedPublic

Authored by sivachandra on Aug 25 2021, 10:56 PM.

Details

Summary

This allows others parts of the libc to use the mutex types without
actually pulling in public function implementations.

Along the way, few cleanups have been done, like using a uniform type to
refer the linux futex word.

Diff Detail

Event Timeline

sivachandra created this revision.Aug 25 2021, 10:56 PM
sivachandra requested review of this revision.Aug 25 2021, 10:56 PM
This revision is now accepted and ready to land.Aug 26 2021, 10:42 AM
This revision was landed with ongoing or failed builds.Aug 26 2021, 11:49 AM
This revision was automatically updated to reflect the committed changes.