diff options
author | Pavel Labath <labath@google.com> | 2015-05-12 08:35:33 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-05-12 08:35:33 +0000 |
commit | 1dbc6c9cd63322d0e6f0a369e43d9bfffb96b034 (patch) | |
tree | d9b7e5f089fa5e5ee660ab181070bc3e5090b26d /clang/unittests/Format/FormatTest.cpp | |
parent | 040d54094096d315bb27243f71133ffb95325509 (diff) | |
download | bcm5719-llvm-1dbc6c9cd63322d0e6f0a369e43d9bfffb96b034.tar.gz bcm5719-llvm-1dbc6c9cd63322d0e6f0a369e43d9bfffb96b034.zip |
[NativeProcessLinux] Remove event mutex and clean functions using it
Summary:
Since the former-TSC events are now processed synchronously, there is no need for to protect them
with a separate mutex - all the actions are now guarded by the big m_threads_mutex.
With the mutex gone, the following functions, no longer have any purpose and were removed:
NotifyThreadCreate: replaced by direct calls to ThreadWasCreated
NotifyThreadStop: replaced by direct calls to ThreadDidStop
NotifyThreadDeath: folded into StopTrackingThread
ResetForExec: inlined as it consisted of a single line of code
RequestThreadResume(AsNeeded): replaced by direct calls to ResumeThread
StopThreads: removed, as it was never called
Test Plan: tests continue to pass
Reviewers: ovyalov, chaoren
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D9603
llvm-svn: 237101
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions