From b2c5107d21493dfbc1010b85ed0fce9ada3d8d6c Mon Sep 17 00:00:00 2001 From: ngaut Date: Tue, 22 Apr 2014 10:27:03 +0800 Subject: [PATCH] add comments --- worker/worker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/worker/worker.go b/worker/worker.go index 4d5fa7b..76a391d 100644 --- a/worker/worker.go +++ b/worker/worker.go @@ -279,6 +279,7 @@ func (worker *Worker) exec(inpack *inPack) (err error) { } outpack.handle = inpack.handle outpack.data = r.data + //exec() maybe called concurrently, take care of race condition inpack.a.write(outpack) } return