Email Record: Deadlock detection and resolution of discrete simulation systems and flexible manufacturing cells /