Patent ID: 6507861
Filing Date: 2003-01-14
Classification: G06F

Abstract:
A method for avoiding deadlock in a non-preemptive multi-tasking application program, wherein the application program operates in an operating system that is also non-preemptive and multi-tasking, wherein deadlock occurs when a first component within the application program will not yield to internal timeslicing before receiving a requested resource from a second component within the application program, the method comprising:(1) placing a component of a main application program that requires resources from other components within said main application program, and that will not yield to internal timeslicing within said main application program, in a separate application program; and (2) connecting said separate application program to said main application program via a communication link, wherein said separate application program and said main application program exchange data; wherein said main application program and said separate application program are well behaved, and wherein said separate application program yields to an external operating system timeslicing mechanism thereby insuring that all components of said main application program have an opportunity to execute their assignments.