1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

(create_thread): Release heap before locking thread admin mutex.

This commit is contained in:
Mikael Djurfeldt 2002-12-10 17:27:31 +00:00
parent c4c52ebe30
commit 094b640d77

View file

@ -341,7 +341,7 @@ really_launch (SCM_STACKITEM *base, launch_data *data)
data,
(scm_t_catch_handler) handler_bootstrip,
data, base);
scm_i_plugin_mutex_unlock (&t->heap_mutex); /* release the heap */
scm_i_leave_guile (); /* release the heap */
free (data);
scm_i_plugin_mutex_lock (&thread_admin_mutex);