]> granicus.if.org Git - gc/commitdiff
Fix GC_lock comment (pthreads)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 8 Nov 2012 18:17:28 +0000 (22:17 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 8 Nov 2012 18:17:28 +0000 (22:17 +0400)
* pthread_support.c (GC_lock): Fix USE_SPIN_LOCK macro name in comment.

pthread_support.c

index a2546e23332aa163a1e93363093ee65717bc255b..16dd7b3c2b82207962fae719e4a615189739654f 100644 (file)
@@ -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