]> Cypherpunks repositories - gostls13.git/commit
runtime: clarify runtime.GC blocking behavior
authorAustin Clements <austin@google.com>
Sun, 19 Jul 2015 06:22:18 +0000 (23:22 -0700)
committerAustin Clements <austin@google.com>
Sun, 19 Jul 2015 15:10:06 +0000 (15:10 +0000)
commit1942e3814bd99ff9466bcbc82eb63d3fab130484
tree17d55bfa41564a466c957c9120d7cdb3f4908141
parent692054e76e7686c6d5de385df69873e6427a35fb
runtime: clarify runtime.GC blocking behavior

The runtime.GC documentation was rewritten in df2809f to make it clear
that it blocks until GC is complete, but the re-rewrite in ed9a4c9 and
e28a679 lost this property when clarifying that it may also block the
entire program and not just the caller.

Try to arrive at wording that conveys both of these properties.

Change-Id: I1e255322aa28a21a548556ecf2a44d8d8ac524ef
Reviewed-on: https://go-review.googlesource.com/12392
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/runtime/mgc.go