From: Ivan Maidanski Date: Thu, 3 Aug 2017 22:09:34 +0000 (+0300) Subject: Refine collect_a_little documentation (better explain when 0 is returned) X-Git-Tag: v8.0.0~615 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13e834307b2605b5669be5e90b24df9a93469f58;p=platform%2Fupstream%2Flibgc.git Refine collect_a_little documentation (better explain when 0 is returned) Issue #64 (bdwgc). * include/gc.h (GC_collect_a_little): Refine comment. --- diff --git a/include/gc.h b/include/gc.h index d383869..9c1406f 100644 --- a/include/gc.h +++ b/include/gc.h @@ -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 */