mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 09:10:22 +02:00
Rename scm_i_thread to scm_thread
* libguile/scm.h (struct scm_thread, scm_thread): Rename from scm_i_thread. * libguile/deprecated.h (scm_i_thread): Add deprecated typedef. * libguile/threads.h: Adapt to renaming. * libguile/intrinsics.h: * libguile/scmsigs.h: * libguile/cache-internal.h: Remove threads.h includes; unnecessary with the forward decl. * libguile/continuations.h: * libguile/gc-inline.h: * libguile/async.h: Adapt scm_thread type name change. * libguile/async.c: * libguile/continuations.c: * libguile/control.c: * libguile/dynstack.c: * libguile/dynwind.c: * libguile/eval.c: * libguile/finalizers.c: * libguile/fluids.c: * libguile/gc.c: * libguile/intrinsics.c: * libguile/load.c: * libguile/memoize.c: * libguile/print.c: * libguile/read.c: * libguile/scmsigs.c: * libguile/script.c: * libguile/stackchk.c: * libguile/stacks.c: * libguile/symbols.c: * libguile/threads.c: * libguile/throw.c: * libguile/vm-engine.c: * libguile/vm.c: Adapt to type name change, and add additional includes as needed.
This commit is contained in:
parent
51e35158ba
commit
5804c977d7
32 changed files with 124 additions and 115 deletions
|
@ -100,7 +100,7 @@ static SCM signal_handler_asyncs;
|
|||
static SCM signal_handler_threads;
|
||||
|
||||
/* The signal delivery thread. */
|
||||
scm_i_thread *scm_i_signal_delivery_thread = NULL;
|
||||
scm_thread *scm_i_signal_delivery_thread = NULL;
|
||||
|
||||
/* The mutex held when launching the signal delivery thread. */
|
||||
static scm_i_pthread_mutex_t signal_delivery_thread_mutex =
|
||||
|
@ -233,7 +233,7 @@ static SIGRETTYPE
|
|||
take_signal (int signum)
|
||||
{
|
||||
SCM cell = SCM_SIMPLE_VECTOR_REF (signal_handler_asyncs, signum);
|
||||
scm_i_thread *t = SCM_I_CURRENT_THREAD;
|
||||
scm_thread *t = SCM_I_CURRENT_THREAD;
|
||||
|
||||
if (scm_is_false (SCM_CDR (cell)))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue