✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Suppose there is a mutex m_1 and a mutex m_2 where m_1 locks the first half of an array and m_2 is a lock for the second half of an array.Suppose process 1 has the following code: lock(m_1)lock(m_2)//Do analysisrelease(m_1)release(m_2)And process 2 has the following code: lock(m_2)lock(m_1)//Do analysisrelease(m_2)release(m_1)What are issues with this code?