Changed spinlock variables to volitile