diff options
| author | Austin Clements <austin@google.com> | 2015-02-12 15:30:08 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2015-02-13 15:34:49 +0000 |
| commit | 60a16ea36799710b449b69594506c471c76d02a2 (patch) | |
| tree | d582e441edcb5ed32ff9a3713502528ef2d2daf0 /src/encoding | |
| parent | 15c9a2ef4e2ba914c330eca8e86c6b6166986d27 (diff) | |
| download | go-60a16ea36799710b449b69594506c471c76d02a2.tar.xz | |
runtime: remove drainallwbufs argument to drainworkbuf
All calls to drainworkbuf now pass true for this argument, so remove
the argument and update the documentation to reflect the simplified
interface.
At a higher level, there are no longer any situations where we drain
"one wbuf" (though drainworkbuf didn't guarantee this anyway). We
either drain everything, or we drain a specific number of objects.
Change-Id: Ib7ee0fde56577eff64232ee1e711ec57c4361335
Reviewed-on: https://go-review.googlesource.com/4784
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
