-extern SearchLimits Limits;
-extern std::vector<Move> SearchMoves;
-extern Position* RootPosition;
+struct SignalsType {
+ bool stopOnPonderhit, firstRootMove, stop, failedLowAtRoot;
+};
+
+extern volatile SignalsType Signals;
+extern LimitsType Limits;
+extern std::vector<Move> RootMoves;
+extern Position RootPosition;