Monte Carlo simulations of spin systems on multi-core processors