projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79c740f
)
Fix a major typo.
author
Owen Anderson
<resistor@mac.com>
Fri, 19 Jun 2009 17:08:20 +0000
(17:08 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 19 Jun 2009 17:08:20 +0000
(17:08 +0000)
Nicolas, this is probably the cause of the failures you were seeing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73770
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/System/Mutex.h
patch
|
blob
|
history
diff --git
a/include/llvm/System/Mutex.h
b/include/llvm/System/Mutex.h
index 2a70ba013a0033dcbd96d8f82608912d42d261f1..0003ef881c85d13ddfeafaea4d1f2fe1aeb1617f 100644
(file)
--- a/
include/llvm/System/Mutex.h
+++ b/
include/llvm/System/Mutex.h
@@
-89,7
+89,7
@@
namespace llvm
explicit SmartMutex(bool recursive = true) : MutexImpl(recursive) { }
bool acquire() {
- if (!mt_only
&&
llvm_is_multithreaded())
+ if (!mt_only
||
llvm_is_multithreaded())
return MutexImpl::acquire();
return true;
}