projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial implementation of the worker thread pool size manager
[citadel.git]
/
citadel
/
threads.h
diff --git
a/citadel/threads.h
b/citadel/threads.h
index d080b81e7abdff708fe6f72dd22bd0be9fe3bc0d..f96ab77d5bbc0c9215a2745aee9e72f8db81c278 100644
(file)
--- a/
citadel/threads.h
+++ b/
citadel/threads.h
@@
-33,6
+33,9
@@
struct thread_tsd {
extern struct thread_tsd masterTSD;
#define TSD MyThread()
+extern int num_workers;
+extern int active_workers;
+
struct thread_tsd *MyThread(void);
int try_critical_section (int which_one);
void begin_critical_section (int which_one);