Worked on SpinLock (Incomplete)