projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide a simple configurable limit on the number of threads.
[bluesky.git]
/
bluesky
/
bluesky.h
diff --git
a/bluesky/bluesky.h
b/bluesky/bluesky.h
index
e30f5b0
..
fdc2e39
100644
(file)
--- a/
bluesky/bluesky.h
+++ b/
bluesky/bluesky.h
@@
-37,6
+37,10
@@
typedef struct {
extern BlueSkyOptions bluesky_options;
extern BlueSkyOptions bluesky_options;
+/* Maximum number of threads to use in any particular thread pool, or -1 for no
+ * limit */
+extern int bluesky_max_threads;
+
/* BlueSky status and error codes. Various frontends should translate these to
* the appropriate error code for whatever protocol they implement. */
typedef enum {
/* BlueSky status and error codes. Various frontends should translate these to
* the appropriate error code for whatever protocol they implement. */
typedef enum {