add spinlock_study.cc file to github