mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-02 23:50:47 +02:00
Move struct scm_thread definition to private header
Allows us to inline the "struct scm_dynamic_state", avoiding an untagged traced allocation. * libguile/threads-internal.h: New file. * libguile/Makefile.am (noinst_HEADERS): Add new file. Adapt all users, notably of SCM_I_CURRENT_THREAD and scm_i_misc_mutex.
This commit is contained in:
parent
a6b848dcba
commit
552960b3e2
73 changed files with 244 additions and 211 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 2002,2006,2008,2018
|
||||
/* Copyright 2002,2006,2008,2018,2025
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of Guile.
|
||||
|
@ -27,7 +27,7 @@
|
|||
|
||||
|
||||
#if SCM_USE_NULL_THREADS
|
||||
#include "null-threads.h"
|
||||
#include "null-threads-internal.h"
|
||||
|
||||
static scm_i_pthread_key_t *all_keys = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue