From: Ivan Maidanski Date: Thu, 8 Nov 2012 18:17:28 +0000 (+0400) Subject: Fix GC_lock comment (pthreads) X-Git-Tag: gc7_4_0~163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d246e305d0579bf29d26a21f80a9aa9d88d77be;p=gc Fix GC_lock comment (pthreads) * pthread_support.c (GC_lock): Fix USE_SPIN_LOCK macro name in comment. --- diff --git a/pthread_support.c b/pthread_support.c index a2546e23..16dd7b3c 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -1887,7 +1887,7 @@ yield: } } -#else /* !USE_SPINLOCK */ +#else /* !USE_SPIN_LOCK */ GC_INNER void GC_lock(void) { #ifndef NO_PTHREAD_TRYLOCK @@ -1901,7 +1901,7 @@ GC_INNER void GC_lock(void) #endif /* !NO_PTHREAD_TRYLOCK */ } -#endif /* !USE_SPINLOCK */ +#endif /* !USE_SPIN_LOCK */ #ifdef PARALLEL_MARK