aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r--winsup/cygwin/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h
index 2b6e7d7..6065f9d 100644
--- a/winsup/cygwin/thread.h
+++ b/winsup/cygwin/thread.h
@@ -333,6 +333,7 @@ public:
/* we may get 0 for the Tls index.. grrr */
int indexallocated;
int concurrency;
+ long int threadcount;
// Used for main thread data, and sigproc thread
struct __reent_t reents;
@@ -346,7 +347,7 @@ public:
void Init (int);
- MTinterface ():reent_index (0), indexallocated (0)
+ MTinterface ():reent_index (0), indexallocated (0), threadcount (1)
{
pthread_prepare = NULL;
pthread_child = NULL;