aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2015-03-19 17:46:18 -0400
committerAustin Clements <austin@google.com>2015-03-20 14:05:11 +0000
commit653426f08f2e34ddcc73f7603d23e5f640b6b1ff (patch)
treeff2045ec086826346b701ef26b9cd58cca948ae8 /src/os/exec
parent06de3f52a76dba85cf5cc71a2cb644e8fb8b0269 (diff)
downloadgo-653426f08f2e34ddcc73f7603d23e5f640b6b1ff.tar.xz
runtime: exit getfull barrier if there are partial workbufs
Currently, we only exit the getfull barrier if there is work on the full list, even though the exit path will take work from either the full or partial list. Change this to exit the barrier if there is work on either the full or partial lists. I believe it's currently safe to check only the full list, since during mark termination there is no reason to put a workbuf on a partial list. However, checking both is more robust. Change-Id: Icf095b0945c7cad326a87ff2f1dc49b7699df373 Reviewed-on: https://go-review.googlesource.com/7840 Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/os/exec')
0 files changed, 0 insertions, 0 deletions