mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 06:41:13 +02:00
don't spawn the signal delivery thread in a thread-exit handler
* libguile/threads.c (do_thread_exit): Remove needless spawn of the signal delivery thread.
This commit is contained in:
parent
43adb591f4
commit
3b971a59b5
1 changed files with 0 additions and 4 deletions
|
@ -631,10 +631,6 @@ do_thread_exit (void *v)
|
||||||
{
|
{
|
||||||
scm_i_thread *t = (scm_i_thread *) v;
|
scm_i_thread *t = (scm_i_thread *) v;
|
||||||
|
|
||||||
/* Ensure the signal handling thread has been launched, because we might be
|
|
||||||
shutting it down. This needs to be done in Guile mode. */
|
|
||||||
scm_i_ensure_signal_delivery_thread ();
|
|
||||||
|
|
||||||
if (!scm_is_false (t->cleanup_handler))
|
if (!scm_is_false (t->cleanup_handler))
|
||||||
{
|
{
|
||||||
SCM ptr = t->cleanup_handler;
|
SCM ptr = t->cleanup_handler;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue