add DeadLockExample.cc to test deadlock and other lock error using with
helgrind.