aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/thread.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-12-30 00:16:10 -0500
committerRuss Cox <rsc@swtch.com>2020-12-30 00:20:26 -0500
commite68f07d46f5f168dc2076286627279540bf1f99e (patch)
treebc16faa386aa6f9e8189befa70b65728a3726ee7 /src/libthread/thread.c
parentb73633b1b4e9d3dbd680edf900b2b53befbf5a9a (diff)
downloadplan9port-e68f07d46f5f168dc2076286627279540bf1f99e.tar.gz
plan9port-e68f07d46f5f168dc2076286627279540bf1f99e.tar.bz2
plan9port-e68f07d46f5f168dc2076286627279540bf1f99e.zip
libthread: make pthreadperthread the default
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*);