diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-08-15 09:29:23 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-08-15 09:29:23 +0300 |
commit | da5233fb12064e672a25bc65f72bf599126971ce (patch) | |
tree | 889b6451e4900d538069d229749ed4e7dab31830 /pthread_start.c | |
parent | b59d0895c38b75398a94fde4674a58d906b7d104 (diff) | |
download | bdwgc-da5233fb12064e672a25bc65f72bf599126971ce.tar.gz |
Fix 'undefined reference to GC_incremental' linker error in pthread_start
(fix of commit 73d30d2)
GC_incremental is declared as static in case of NO_DEBUGGING.
* pthread_start.c [GC_PTHREADS && !GC_WIN32_THREADS]
(GC_inner_start_routine): Call GC_end_stubborn_change instead of
GC_dirty; add comment.
Diffstat (limited to 'pthread_start.c')
-rw-r--r-- | pthread_start.c | 2 |
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 */ |