projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b4082e
)
folly/SmallLocks.h compiler warning
author
Anton Likhtarov
<alikhtarov@fb.com>
Fri, 14 Sep 2012 00:01:29 +0000
(17:01 -0700)
committer
Jordan DeLong
<jdelong@fb.com>
Mon, 17 Sep 2012 01:31:03 +0000
(18:31 -0700)
Summary: Couldn't get an HPHP extension to compile against this
Test Plan: compiled HPHP including folly/dynamic.h
Reviewed By: delong.j@fb.com
FB internal diff:
D574364
folly/SmallLocks.h
patch
|
blob
|
history
diff --git
a/folly/SmallLocks.h
b/folly/SmallLocks.h
index 91d2546a1778a93e12cecd5be699c535f22d0673..51abb97c738608bf346165117e51eb5989ccd874 100644
(file)
--- a/
folly/SmallLocks.h
+++ b/
folly/SmallLocks.h
@@
-59,7
+59,7
@@
namespace detail {
* spinning, and falls back to sleeping for small quantums.
*/
class Sleeper {
- static const int32_t kMaxActiveSpin = 4000;
+ static const
u
int32_t kMaxActiveSpin = 4000;
uint32_t spinCount;