diff options
| author | Jim Ingham <jingham@apple.com> | 2012-05-04 19:24:49 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2012-05-04 19:24:49 +0000 |
| commit | c075ecd833cf5c98c890aa21453443c8c23a18a8 (patch) | |
| tree | 49deaf25dcc5ba11db946316d3874c3e49980232 /llvm/lib/Support | |
| parent | ce52ca178d7d9510851391a96e67c1bd0b8b9f88 (diff) | |
| download | bcm5719-llvm-c075ecd833cf5c98c890aa21453443c8c23a18a8.tar.gz bcm5719-llvm-c075ecd833cf5c98c890aa21453443c8c23a18a8.zip | |
Fix a think in Mutex::Locker::Locker(pthread_mutex_t *) Really should lock the mutex handed in, not the m_mutex_ptr that you've set to NULL...
Rework the Host.cpp::ThreadNameAccessor to use ThreadSafeSTLMap - we've got it so we might as well use it. Also works around a problem with the
Mutex::Locker class raising fallacious asserts in debug mode when used with pthread_mutex_t's that weren't backed by Mutex objects.
llvm-svn: 156193
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions

