結果 : how to avoid deadlock in multithreading java