add comments

This commit is contained in:
ngaut 2014-04-22 10:27:03 +08:00
parent d8913a6354
commit b2c5107d21

View File

@ -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