mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
pkg: spelling tweaks, A-H
R=ality, bradfitz, rsc, dsymonds, adg, qyzhai, dchest CC=golang-dev https://golang.org/cl/4536063
This commit is contained in:
parent
b256358008
commit
c8727c81bb
57 changed files with 120 additions and 120 deletions
|
|
@ -277,7 +277,7 @@ func (t *thread) ptraceDetach() os.Error {
|
|||
}
|
||||
|
||||
/*
|
||||
* Logging utilties
|
||||
* Logging utilities
|
||||
*/
|
||||
|
||||
var logLock sync.Mutex
|
||||
|
|
@ -1192,7 +1192,7 @@ func (p *process) attachAllThreads() os.Error {
|
|||
|
||||
// We stop threads as we attach to them; however, because new
|
||||
// threads can appear while we're looping over all of them, we
|
||||
// have to repeatly scan until we know we're attached to all
|
||||
// have to repeatedly scan until we know we're attached to all
|
||||
// of them.
|
||||
for again := true; again; {
|
||||
again = false
|
||||
|
|
@ -1214,7 +1214,7 @@ func (p *process) attachAllThreads() os.Error {
|
|||
_, err = p.attachThread(tid)
|
||||
if err != nil {
|
||||
// There could have been a race, or
|
||||
// this process could be a zobmie.
|
||||
// this process could be a zombie.
|
||||
statFile, err2 := ioutil.ReadFile(taskPath + "/" + tidStr + "/stat")
|
||||
if err2 != nil {
|
||||
switch err2 := err2.(type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue