From: Ivan Maidanski Date: Wed, 18 Oct 2017 19:37:30 +0000 (+0300) Subject: Refine should_invoke_finalizers documentation X-Git-Tag: v7.6.2~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38a9863073e7867b75cab29a4fd2f49fa66964ef;p=gc Refine should_invoke_finalizers documentation * include/gc.h (GC_should_invoke_finalizers): Add comment that it is not synchronized. --- diff --git a/include/gc.h b/include/gc.h index 472e4784..c830e8de 100644 --- a/include/gc.h +++ b/include/gc.h @@ -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);