Improve thread safety of A/B repeat.
authorGabriel M. Beddingfield <gabriel@teuton.org>
Mon, 7 Feb 2011 04:32:00 +0000 (22:32 -0600)
committerGabriel M. Beddingfield <gabriel@teuton.org>
Mon, 7 Feb 2011 04:32:00 +0000 (22:32 -0600)
commit123349a02ae6987b2b97d7f7a995c38fed995c04
treef4b3a6bc05adce9d01c10d0d9ac0852708b93515
parent63ec35447861ee8096b2fe840f72b6c7d20f1794
Improve thread safety of A/B repeat.

Instead of changing variables on the fly, increment an atomic integer
to be processed in the normal process() callback.
src/Engine.cpp
src/Engine.hpp