}
inline bool FiberManager::loopUntilNoReady() {
+#ifndef _WIN32
if (UNLIKELY(!alternateSignalStackRegistered_)) {
registerAlternateSignalStack();
}
+#endif
// Support nested FiberManagers
auto originalFiberManager = this;
#endif // FOLLY_SANITIZE_ADDRESS
+#ifndef _WIN32
namespace {
// SIGSTKSZ (8 kB on our architectures) isn't always enough for
alternateSignalStackRegistered_ = true;
}
+#endif
}
}
#endif // FOLLY_SANITIZE_ADDRESS
+#ifndef _WIN32
bool alternateSignalStackRegistered_{false};
void registerAlternateSignalStack();
+#endif
};
/**