veyron/services/store/memstore/query: Fix race conditions.

This change makes evalIterator thread-safe.  The problem with the
old code was that Next() might not see something on the error
channel since select is non-deterministic.  it.err might not be
set even though there is a pending error on errc.

Change-Id: I3e1651a5859a35f5d1c6b683cfd123cc60342fd2
1 file changed
tree: 882cc9b28be4ec83c6695eacb387e12f78fd61c5
  1. examples/
  2. lib/
  3. runtimes/
  4. services/
  5. tools/