This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add GNU extention functions fread_unlocked and fwrite_unlocked.
ClosedPublic

Authored by sivachandra on Apr 19 2022, 12:45 AM.

Details

Summary

POSIX locking and unlocking functions flockfile and funlockfile have
also been added. The locking is not recursive yet. A future patch will
make the underlying lock a recursive lock.

Diff Detail

Event Timeline

sivachandra created this revision.Apr 19 2022, 12:45 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 19 2022, 12:45 AM
sivachandra requested review of this revision.Apr 19 2022, 12:45 AM
sivachandra edited the summary of this revision. (Show Details)Apr 19 2022, 12:55 AM
lntue accepted this revision.Apr 19 2022, 9:51 PM
This revision is now accepted and ready to land.Apr 19 2022, 9:51 PM