commit | 78de113658d62871ceb7b9f04f9f2846a189ee94 | [log] [tgz] |
---|---|---|
author | Dmitriy Vyukov <dvyukov@google.com> | Tue Oct 16 10:35:13 2012 +0400 |
committer | Dmitriy Vyukov <dvyukov@google.com> | Tue Oct 16 10:35:13 2012 +0400 |
tree | 08103d4d4e47d27ca10adc21dd6c73766299c667 | |
parent | 8d12ba2c8f48265803e75dea81d4da10c10ee87d [diff] |
present: fix race condition If one hits "Run" several times, then an old process removes the current process from c.proc. As a result the new process can't be killed, and we end up with 2 processes running at the same time. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6700043