mirror of
https://github.com/vlang/v.git
synced 2025-08-04 10:17:22 -04:00
thirdparty: fix GC_suspend_handler_inner in gc.c after cca6755
This commit is contained in:
parent
cca6755d28
commit
28103d15d5
2
thirdparty/libgc/gc.c
vendored
2
thirdparty/libgc/gc.c
vendored
@ -35507,7 +35507,7 @@ STATIC void GC_suspend_handler_inner(ptr_t dummy, void *context)
|
|||||||
GC_log_printf("Suspending %p\n", (void *)pthread_self());
|
GC_log_printf("Suspending %p\n", (void *)pthread_self());
|
||||||
# endif
|
# endif
|
||||||
me = GC_lookup_self_thread_async();
|
me = GC_lookup_self_thread_async();
|
||||||
if (NULL == me) return NULL; // __v_, make the sanitizers and -cstrict happy
|
if (NULL == me) return; // __v_, make the sanitizers and -cstrict happy
|
||||||
if ((me -> last_stop_count & ~(word)THREAD_RESTARTED) == my_stop_count) {
|
if ((me -> last_stop_count & ~(word)THREAD_RESTARTED) == my_stop_count) {
|
||||||
/* Duplicate signal. OK if we are retrying. */
|
/* Duplicate signal. OK if we are retrying. */
|
||||||
if (!GC_retry_signals) {
|
if (!GC_retry_signals) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user