sirikata/sirikata — Issue #453: Proximity and AggregateManager make unsafe access to LocationService which isn't thread safe
Author: ewencp
Created: 2011-10-25 19:49:04+00:00
State: open

Callbacks triggered for Prox::AggregateListener and various methods in AggregateManager make direct calls to LocationService methods, but they are running of the main strand so these accesses are not safe. We either need to make all LcoationServices thread safe or send the data needed to the threads doing that processing. AggregateListener should have access to the LocationServiceCache, but AggregateManager would not have access to that.