]> Cypherpunks repositories - gostls13.git/commit
runtime: rename drainworkbuf and drainobjects
authorAustin Clements <austin@google.com>
Thu, 12 Feb 2015 20:39:29 +0000 (15:39 -0500)
committerAustin Clements <austin@google.com>
Fri, 13 Feb 2015 15:34:55 +0000 (15:34 +0000)
commit6e5cc1f1ac0c93471fc6b05a250b6f7ed0b02c58
treecae809a3caa91973d0d0052a7425cfe19c3ef50b
parent60a16ea36799710b449b69594506c471c76d02a2
runtime: rename drainworkbuf and drainobjects

drainworkbuf is now gcDrain, since it drains until there's
nothing left to drain.  drainobjects is now gcDrainN because it's
the bounded equivalent to gcDrain.

The new names use the Go camel case convention because we have to
start somewhere.  The "gc" prefix is because we don't have runtime
packages yet and just "drain" is too ambiguous.

Change-Id: I88dbdf32e8ce4ce6c3b7e1f234664be9b76cb8fd
Reviewed-on: https://go-review.googlesource.com/4785
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go