]> 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, 18 Oct 2017 19:37:30 +0000 (22:37 +0300)
* include/gc.h (GC_should_invoke_finalizers): Add comment that it is
not synchronized.

include/gc.h

index a92b411557b0a7165bcbf4e6821cd34b08f84d33..956458deb4f9eb7da04585693868bac4b46f2c7a 100644 (file)
@@ -1250,6 +1250,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);