Created
June 27, 2013 16:56
-
-
Save danslo/5878185 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git hphp/runtime/base/thread_init_fini.cpp hphp/runtime/base/thread_init_fini.cpp | |
index 6826c69..a84b63b 100644 | |
--- hphp/runtime/base/thread_init_fini.cpp | |
+++ hphp/runtime/base/thread_init_fini.cpp | |
@@ -63,7 +63,9 @@ void init_thread_locals(void *arg /* = NULL */) { | |
g_context.getCheck(); | |
AsioSession::Init(); | |
s_hasRenamedFunction.getCheck(); | |
+#ifndef NO_HARDWARE_COUNTERS | |
HardwareCounter::s_counter.getCheck(); | |
+#endif | |
for (InitFiniNode *in = extra_init; in; in = in->next) { | |
in->func(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment