]> granicus.if.org Git - gc/commitdiff
Refine should_invoke_finalizers documentation
authorIvan Maidanski <ivmai@mail.ru>
Wed, 18 Oct 2017 19:37:30 +0000 (22:37 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 25 Oct 2017 10:48:32 +0000 (13:48 +0300)
* include/gc.h (GC_should_invoke_finalizers): Add comment that it is
not synchronized.

include/gc.h

index 472e478433dbce8bee98b81adad211121e2abb17..c830e8de46edaa31629db068e223e720c766cb3a 100644 (file)
@@ -1241,6 +1241,7 @@ GC_API GC_await_finalize_proc GC_CALL GC_get_await_finalize_proc(void);
                         /* and getter acquire the lock too.     */
 
 /* Returns !=0 if GC_invoke_finalizers has something to do.     */
+/* Does not use any synchronization.                            */
 GC_API int GC_CALL GC_should_invoke_finalizers(void);
 
 GC_API int GC_CALL GC_invoke_finalizers(void);