This is an archive of the discontinued LLVM Phabricator instance.

[clang] Change llvm::sys::Mutex implementation to use STL-provided mutexes.
AbandonedPublic

Authored by zturner on May 29 2014, 1:36 PM.

Details

Reviewers
aaron.ballman
rnk
Summary

Clang side changes to support LLVM mutex refactor. This accompanies revision D4033, and should be submitted at the same time.

Diff Detail

Event Timeline

zturner updated this revision to Diff 9931.May 29 2014, 1:36 PM
zturner retitled this revision from to Change llvm::sys::Mutex implementation to use STL-provided mutexes..
zturner updated this object.
zturner edited the test plan for this revision. (Show Details)
zturner added a reviewer: rnk.
zturner added a subscriber: Unknown Object (MLST).
zturner updated this revision to Diff 9933.May 29 2014, 2:03 PM
zturner retitled this revision from Change llvm::sys::Mutex implementation to use STL-provided mutexes. to [clang] Change llvm::sys::Mutex implementation to use STL-provided mutexes..

Fix some compilation errors on Linux.

zturner updated this revision to Diff 10156.Jun 5 2014, 1:56 PM
zturner updated this object.
zturner added a reviewer: aaron.ballman.
zturner edited subscribers, added: Unknown Object (MLST); removed: Unknown Object (MLST).

During an atexit handler, std::mutex cannot be used. This revision addresses this by changing to a mutex which is safe for use during shutdown.

zturner updated this revision to Diff 10199.Jun 6 2014, 4:47 PM

Clang side changes accompanying the LLVM mutex refactor

zturner abandoned this revision.Jun 9 2014, 8:44 PM