I Learned ++int is not thread safe. Seems I had two different threads doing ++int and --int on the same value at the exact same time and only one or the other would be applied.
Explains why the glitch I was noticing was so rare.
Explains why the glitch I was noticing was so rare.