From d71bef1f5e15b126cce01b343c0837a8fc338b8e Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 18 Oct 2017 22:37:30 +0300 Subject: [PATCH] Refine should_invoke_finalizers documentation * include/gc.h (GC_should_invoke_finalizers): Add comment that it is not synchronized. --- include/gc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gc.h b/include/gc.h index bdc3a89d..72fc0448 100644 --- a/include/gc.h +++ b/include/gc.h @@ -1138,6 +1138,7 @@ GC_API int GC_CALL GC_unregister_long_link(void ** /* link */); /* registration by either of the above two routines. */ /* 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); -- 2.40.0