mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-13 15:10:34 +02:00
(create_thread): Release heap before locking thread admin mutex.
This commit is contained in:
parent
c4c52ebe30
commit
094b640d77
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ really_launch (SCM_STACKITEM *base, launch_data *data)
|
||||||
data,
|
data,
|
||||||
(scm_t_catch_handler) handler_bootstrip,
|
(scm_t_catch_handler) handler_bootstrip,
|
||||||
data, base);
|
data, base);
|
||||||
scm_i_plugin_mutex_unlock (&t->heap_mutex); /* release the heap */
|
scm_i_leave_guile (); /* release the heap */
|
||||||
free (data);
|
free (data);
|
||||||
|
|
||||||
scm_i_plugin_mutex_lock (&thread_admin_mutex);
|
scm_i_plugin_mutex_lock (&thread_admin_mutex);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue