1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 22:10:21 +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:
Andy Wingo 2011-06-23 11:24:16 +02:00
parent 43adb591f4
commit 3b971a59b5

View file

@ -631,10 +631,6 @@ do_thread_exit (void *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))
{
SCM ptr = t->cleanup_handler;