am acd574c1: am 7a67c335: Merge "Modify the code to avoid potential deadlocks."

* commit 'acd574c1a7f3e8e79ab14aef942b896019349798':
  Modify the code to avoid potential deadlocks.