summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/Constants.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/rts/Constants.h b/includes/rts/Constants.h
index 140aaa4210..e21a893bbc 100644
--- a/includes/rts/Constants.h
+++ b/includes/rts/Constants.h
@@ -311,4 +311,13 @@
*/
#define SPIN_COUNT 1000
+/* -----------------------------------------------------------------------------
+ Spare workers per Capability in the threaded RTS
+
+ No more than MAX_SPARE_WORKERS will be kept in the thread pool
+ associated with each Capability.
+ -------------------------------------------------------------------------- */
+
+#define MAX_SPARE_WORKERS 6
+
#endif /* RTS_CONSTANTS_H */