deadlock test,cannot write log
fix deadlock by acquiring locks in FIXED ORDER
add a makefile
pthread condition test, but race condition between t1&t2, which leads to missing data
still rc between t1&t2,but fix the infinite loop-write_times cannot be zero in log thread by add thread kill