Refine collect_a_little documentation (better explain when 0 is returned)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 3 Aug 2017 22:09:34 +0000 (01:09 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 3 Aug 2017 22:11:30 +0000 (01:11 +0300)
Issue #64 (bdwgc).

* include/gc.h (GC_collect_a_little): Refine comment.

include/gc.h

index d383869..9c1406f 100644 (file)
@@ -789,7 +789,8 @@ GC_API int GC_CALL GC_is_incremental_mode(void);
 GC_API int GC_CALL GC_incremental_protection_needs(void);
 
 /* Perform some garbage collection work, if appropriate.        */
-/* Return 0 if there is no more work to be done.                */
+/* Return 0 if there is no more work to be done (including the  */
+/* case when garbage collection is not appropriate).            */
 /* Typically performs an amount of work corresponding roughly   */
 /* to marking from one page.  May do more work if further       */
 /* progress requires it, e.g. if incremental collection is      */