[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 03/07: Remove thread-specific admin mutex
From: |
Andy Wingo |
Subject: |
[Guile-commits] 03/07: Remove thread-specific admin mutex |
Date: |
Sun, 8 Jan 2017 14:51:35 +0000 (UTC) |
wingo pushed a commit to branch master
in repository guile.
commit 78239acff60e74fa02ffbccc37ec710ad92be064
Author: Andy Wingo <address@hidden>
Date: Sun Jan 8 12:27:26 2017 +0100
Remove thread-specific admin mutex
* libguile/threads.c (guilify_self_1):
* libguile/threads.h (scm_i_thread): Remove unused thread "admin
mutex".
---
libguile/threads.c | 1 -
libguile/threads.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/libguile/threads.c b/libguile/threads.c
index 48a91e8..b46a71b 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 e09a2ef..645e5eb 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;
- [Guile-commits] branch master updated (a0656ad -> b392d81), Andy Wingo, 2017/01/08
- [Guile-commits] 02/07: Remove thread-exited? check in sigaction, Andy Wingo, 2017/01/08
- [Guile-commits] 01/07: Thread prepare-to-wait respects block_asyncs, Andy Wingo, 2017/01/08
- [Guile-commits] 03/07: Remove thread-specific admin mutex,
Andy Wingo <=
- [Guile-commits] 04/07: Enable interrupts only when running thread body, Andy Wingo, 2017/01/08
- [Guile-commits] 06/07: Exited threads retain less memory, Andy Wingo, 2017/01/08
- [Guile-commits] 05/07: Prevent some interrupts of wait-condition-variable, Andy Wingo, 2017/01/08
- [Guile-commits] 07/07: Fix close-port race., Andy Wingo, 2017/01/08