aboutsummaryrefslogtreecommitdiff
path: root/include/libc.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-12-30 07:18:30 -0500
committerRuss Cox <rsc@swtch.com>2020-12-30 07:53:28 -0500
commit18571208068d5fe2f0bf7b4e980525a7f577c503 (patch)
treebaf2061164df38258cc6127a102ab76d9089fb31 /include/libc.h
parente68f07d46f5f168dc2076286627279540bf1f99e (diff)
downloadplan9port-18571208068d5fe2f0bf7b4e980525a7f577c503.tar.gz
plan9port-18571208068d5fe2f0bf7b4e980525a7f577c503.tar.bz2
plan9port-18571208068d5fe2f0bf7b4e980525a7f577c503.zip
libthread: simplify
Now that everything uses pthreads and pthreadperthread, can delete various conditionals, all the custom context code, and so on. Also update documents. Fixes #355.
Diffstat (limited to 'include/libc.h')
-rw-r--r--include/libc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/libc.h b/include/libc.h
index 4bb537d6..1e24f0bb 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -473,10 +473,8 @@ extern _Thread *(*threadnow)(void);
typedef struct Lock Lock;
struct Lock
{
-#ifdef PLAN9PORT_USING_PTHREADS
int init;
pthread_mutex_t mutex;
-#endif
int held;
};