- // Please note that following code is racy and could yield to rare (less
- // than 1 out of a million) duplicated entries in SMP case. This is harmless.
-
- // Be sure countermoves are different from killers
- for (int i = 0; i < 2; ++i)
- if ( countermoves[i] != (cur+0)->move
- && countermoves[i] != (cur+1)->move)
- (endMoves++)->move = countermoves[i];
+ // In SMP case countermoves[] could have duplicated entries
+ // in rare cases (less than 1 out of a million). This is harmless.