aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/thread.c')
-rw-r--r--src/libthread/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/thread.c b/src/libthread/thread.c
index 94173ebc..0c764000 100644
--- a/src/libthread/thread.c
+++ b/src/libthread/thread.c
@@ -7,7 +7,7 @@ static uint threadnsysproc;
static Lock threadnproclock;
static Ref threadidref;
static Proc *threadmainproc;
-static int pthreadperthread;
+static int pthreadperthread = 1;
static void addproc(Proc*);
static void delproc(Proc*);