counters: use memorybarrier manually.