]> 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>
Thu, 10 Nov 2016 18:07:40 +0000 (21:07 +0300)
* win32_threads.c [USE_PTHREAD_LOCKS] (GC_lock): Fix typo in comment
("pthread_mutex_trylock").

win32_threads.c

index 6c2982f38c92bcc81aa91103ae43d8fa027e217b..fa5980c3e7ac7a8a7097c7ec3ecb1671e5f9bd16 100644 (file)
@@ -2700,7 +2700,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;