summaryrefslogtreecommitdiff
path: root/pthread_start.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_start.c')
-rw-r--r--pthread_start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_start.c b/pthread_start.c
index f83dc434..d99026b0 100644
--- a/pthread_start.c
+++ b/pthread_start.c
@@ -59,7 +59,7 @@ GC_INNER_PTHRSTART void * GC_CALLBACK GC_inner_start_routine(
GC_log_printf("Finishing thread %p\n", (void *)pthread_self());
# endif
me -> status = result;
- GC_dirty(me);
+ GC_end_stubborn_change(me); /* cannot use GC_dirty */
# ifndef NACL
pthread_cleanup_pop(1);
/* Cleanup acquires lock, ensuring that we can't exit while */