From: Ivan Maidanski Date: Mon, 19 Sep 2016 21:18:28 +0000 (+0300) Subject: Fix typo in comment of GC_lock (Win32) X-Git-Tag: v7.4.6~249 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bad5e60958f1cede80a3f0d4a0dd88470532179e;p=gc Fix typo in comment of GC_lock (Win32) * win32_threads.c [USE_PTHREAD_LOCKS] (GC_lock): Fix typo in comment ("pthread_mutex_trylock"). --- diff --git a/win32_threads.c b/win32_threads.c index 56658aac..87a7e773 100644 --- a/win32_threads.c +++ b/win32_threads.c @@ -2766,7 +2766,7 @@ GC_INNER void GC_init_parallel(void) #if defined(USE_PTHREAD_LOCKS) /* Support for pthread locking code. */ - /* Pthread_mutex_try_lock may not win here, */ + /* pthread_mutex_trylock may not win here, */ /* due to builtin support for spinning first? */ GC_INNER volatile GC_bool GC_collecting = 0;