add deadlock check across different files