machine: added not so working spinlock