add comments
This commit is contained in:
parent
d8913a6354
commit
b2c5107d21
@ -279,6 +279,7 @@ func (worker *Worker) exec(inpack *inPack) (err error) {
|
|||||||
}
|
}
|
||||||
outpack.handle = inpack.handle
|
outpack.handle = inpack.handle
|
||||||
outpack.data = r.data
|
outpack.data = r.data
|
||||||
|
//exec() maybe called concurrently, take care of race condition
|
||||||
inpack.a.write(outpack)
|
inpack.a.write(outpack)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user