mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
thirdparty: fix GC_suspend_handler_inner in gc.c after cca6755
This commit is contained in:
parent
cca6755d28
commit
28103d15d5
1 changed files with 1 additions and 1 deletions
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());
|
||||
# endif
|
||||
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) {
|
||||
/* Duplicate signal. OK if we are retrying. */
|
||||
if (!GC_retry_signals) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue