mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Provide ‘scm_i_is_finalizer_thread’ when building ‘--without-threads’.
Fixes a regression in ‘--without-threads’ builds introduced in
b8031fc965
.
* libguile/finalizers.c (scm_i_is_finalizer_thread) [!SCM_USE_PTHREAD_THREADS]:
New function.
This commit is contained in:
parent
7dde220750
commit
462d3c85ed
1 changed files with 9 additions and 1 deletions
|
@ -327,7 +327,15 @@ spawn_finalizer_thread (void)
|
||||||
start_finalization_thread ();
|
start_finalization_thread ();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* SCM_USE_PTHREAD_THREADS */
|
#else /* !SCM_USE_PTHREAD_THREADS */
|
||||||
|
|
||||||
|
int
|
||||||
|
scm_i_is_finalizer_thread (struct scm_thread *t)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* !SCM_USE_PTHREAD_THREADS */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue