spinlocks seems to work, might need more tests