
8 Jan
2007
8 Jan
'07
9:02 p.m.
AMDG There is a potential deadlock in locking_state_machine.hpp locking_state_machine<...> fsm1; locking_state_machine<...> fsm2; Thread A fsm1.operator=(fsm2) { scoped_lock that_lock(fsm2.m_Mutex); Thread B fsm2.operator=(fsm1) { scoped_lock that_lock(fsm1.m_Mutex); The two threads deadlock. In Christ, Steven Watanabe