This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add the pthread_mutex_t type.
ClosedPublic

Authored by sivachandra on May 23 2022, 12:51 PM.

Details

Summary

Simple implementations of the functions pthread_mutex_init,
pthread_mutex_destroy, pthread_mutex_lock and pthread_mutex_unlock have
have also been added. Future patches will extend these functions to add
features required by the POSIX specification.

Diff Detail

Event Timeline

sivachandra created this revision.May 23 2022, 12:51 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 23 2022, 12:51 PM
sivachandra requested review of this revision.May 23 2022, 12:51 PM
lntue accepted this revision.May 24 2022, 3:26 PM
This revision is now accepted and ready to land.May 24 2022, 3:26 PM
This revision was automatically updated to reflect the committed changes.