1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Remove thread-specific admin mutex

* libguile/threads.c (guilify_self_1):
* libguile/threads.h (scm_i_thread): Remove unused thread "admin
  mutex".
This commit is contained in:
Andy Wingo 2017-01-08 12:27:26 +01:00
parent ca598d3140
commit 78239acff6
2 changed files with 0 additions and 3 deletions

View file

@ -408,7 +408,6 @@ guilify_self_1 (struct GC_stack_base *base)
currently have type `void'. */ currently have type `void'. */
abort (); abort ();
scm_i_pthread_mutex_init (&t.admin_mutex, NULL);
t.exited = 0; t.exited = 0;
t.guile_mode = 0; t.guile_mode = 0;

View file

@ -54,8 +54,6 @@ typedef struct scm_i_thread {
SCM handle; SCM handle;
scm_i_pthread_t pthread; scm_i_pthread_t pthread;
scm_i_pthread_mutex_t admin_mutex;
SCM result; SCM result;
int exited; int exited;