Provide a simple configurable limit on the number of threads.
[bluesky.git] / bluesky / init.c
index 9fb9332..9a7a6eb 100644 (file)
 
 BlueSkyOptions bluesky_options;
 
+/* Maximum number of threads to use in any particular thread pool, or -1 for no
+ * limit */
+int bluesky_max_threads = -1;
+
 /* Environment variables that can be used to initialize settings. */
 static struct {
     const char *env;