projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed trailing spaces
[libcds.git]
/
cds
/
sync
/
spinlock.h
diff --git
a/cds/sync/spinlock.h
b/cds/sync/spinlock.h
index 4bb8369314040cdadcbd84b6333771a4cabdf9a7..0241cd8d004533275c054acb33983ae8f148c6a8 100644
(file)
--- a/
cds/sync/spinlock.h
+++ b/
cds/sync/spinlock.h
@@
-149,7
+149,7
@@
namespace cds {
{
backoff_strategy backoff;
while ( nTryCount-- ) {
- if ( try_lock()
)
+ if ( try_lock())
return true;
backoff();
}
@@
-246,7
+246,7
@@
namespace cds {
backoff_strategy bkoff;
while ( nTryCount-- ) {
- if ( try_acquire()
)
+ if ( try_acquire())
return true;
bkoff();
}