guile-commits
[Top][All Lists]
Advanced

[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;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]