summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2017-01-08 12:27:26 +0100
committerAndy Wingo <wingo@pobox.com>2017-01-08 12:27:26 +0100
commit78239acff60e74fa02ffbccc37ec710ad92be064 (patch)
tree60563eaaf7d82535382982a6170d89c6fe1870ba
parentca598d31405ac77d5515a3d0b70eda9d41b5bf10 (diff)
Remove thread-specific admin mutex
* libguile/threads.c (guilify_self_1): * libguile/threads.h (scm_i_thread): Remove unused thread "admin mutex".
-rw-r--r--libguile/threads.c1
-rw-r--r--libguile/threads.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/libguile/threads.c b/libguile/threads.c
index 48a91e84f..b46a71b42 100644
--- a/libguile/threads.c
+++ b/libguile/threads.c
@@ -408,7 +408,6 @@ guilify_self_1 (struct GC_stack_base *base)
currently have type `void'. */
abort ();
- scm_i_pthread_mutex_init (&t.admin_mutex, NULL);
t.exited = 0;
t.guile_mode = 0;
diff --git a/libguile/threads.h b/libguile/threads.h
index e09a2ef3a..645e5eb65 100644
--- a/libguile/threads.h
+++ b/libguile/threads.h
@@ -54,8 +54,6 @@ typedef struct scm_i_thread {
SCM handle;
scm_i_pthread_t pthread;
- scm_i_pthread_mutex_t admin_mutex;
-
SCM result;
int exited;