Create deadlock.cpp