]> granicus.if.org Git - gc/commitdiff
Fix typo in comment of GC_lock (Win32)
authorIvan Maidanski <ivmai@mail.ru>
Mon, 19 Sep 2016 21:18:28 +0000 (00:18 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 1 Nov 2016 23:25:09 +0000 (02:25 +0300)
* win32_threads.c [USE_PTHREAD_LOCKS] (GC_lock): Fix typo in comment
("pthread_mutex_trylock").

win32_threads.c

index 56658aac9a1cac781b98f6db0654550c70e3d1fc..87a7e7734d17cd3a849b7ae83a0ddf1967e554ba 100644 (file)
@@ -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;