Two threads enter into the following loop.

Code:
while(m_bLocked) {}
m_bLocked = true;

// where m_bLocked is a bool datatype.

A third thread turn m_blocked to false. Is it possible for both threads to get to the m_bLocked = true statement at the same time?

During the period of time that one thread completes the m_bLocked = true statement, would it be possible for the second thread to escape the loop?