use a cache to avoid false sharing of the processor cache line

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>