#include <folly/ApplyTuple.h>
#include <gtest/gtest.h>
+#include <array>
#include <memory>
// this placates visual studio stupidity - see
EXPECT_EQ(cpu, again);
}
+#ifdef FOLLY_TLS
static FOLLY_TLS unsigned testingCpu = 0;
static int testingGetcpu(unsigned* cpu, unsigned* node, void* /* unused */) {
}
return 0;
}
+#endif
TEST(AccessSpreader, Simple) {
for (size_t s = 1; s < 200; ++s) {
}
}
+#ifdef FOLLY_TLS
#define DECLARE_SPREADER_TAG(tag, locality, func) \
namespace { \
template <typename dummy> \
}
}
}
+#endif