diff options
| author | Gerd Möllmann | 2024-06-23 11:02:18 +0200 |
|---|---|---|
| committer | Gerd Möllmann | 2024-06-23 12:24:42 +0200 |
| commit | e991f6d41ca97c7b0560990cac28858eb7f15535 (patch) | |
| tree | a78e516aef044158d2714f2d36fb78a907627a4a /src/thread.c | |
| parent | 677222dd441b1dfeee80d24d19ad04bb3eab47ec (diff) | |
| download | emacs-e991f6d41ca97c7b0560990cac28858eb7f15535.tar.gz emacs-e991f6d41ca97c7b0560990cac28858eb7f15535.zip | |
Fix igc_thread_remove, reset thread_state::gc_info
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/thread.c b/src/thread.c index 50c4d22734b..835c87b08c9 100644 --- a/src/thread.c +++ b/src/thread.c | |||
| @@ -831,6 +831,10 @@ run_thread (void *state) | |||
| 831 | 831 | ||
| 832 | xfree (self->thread_name); | 832 | xfree (self->thread_name); |
| 833 | 833 | ||
| 834 | #ifdef HAVE_MPS | ||
| 835 | igc_thread_remove (&self->gc_info); | ||
| 836 | #endif | ||
| 837 | |||
| 834 | current_thread = NULL; | 838 | current_thread = NULL; |
| 835 | sys_cond_broadcast (&self->thread_condvar); | 839 | sys_cond_broadcast (&self->thread_condvar); |
| 836 | 840 | ||
| @@ -854,10 +858,6 @@ run_thread (void *state) | |||
| 854 | ; | 858 | ; |
| 855 | *iter = (*iter)->next_thread; | 859 | *iter = (*iter)->next_thread; |
| 856 | 860 | ||
| 857 | #ifdef HAVE_MPS | ||
| 858 | igc_thread_remove (self->gc_info); | ||
| 859 | #endif | ||
| 860 | |||
| 861 | release_global_lock (); | 861 | release_global_lock (); |
| 862 | 862 | ||
| 863 | return NULL; | 863 | return NULL; |