fix some bug in lock and thread
add list_coarse_lock
modify the list_coarse_lock and t_list