Patent ID: 6799317
Filing Date: 2004-09-28
Classification: G06F

Abstract:
A method for transparently handling message passing from a plurality of local and external source tasks, the method providing a software routine that simulates handling of an occurrence of a hardware interrupt, the method comprising the steps of:(a) copying a local source message into a shared memory buffer from a local sending task; (b) invoking, by simulating a hardware interrupt, a local notify system service module including passing a window number identifying a receiving task; (c) invoking, in response to the simulated hardware interrupt, a wake thread module awakening a thread associated with said window number; (d) examining said shared memory buffer for receipt of said local source message; (e) copying said local source message from said shared memory buffer to said receiving task; (f) sending an external source message on a communications link by an external sending task; (g) receiving said external source message from said communications link at a communication adapter; (h) triggering a hardware interrupt by said communication adapter; (i) copying said external source message into an external message buffer from said communication adapter: (j) invoking a first level interrupt handler (FLIII) handling said hardware interrupt: (k) invoking a second level interrupt handler (SLIH) handling said FLIH; (l) invoking said wake thread module awakening a thread associated with said receiving task; (m) examining said external message buffer for receipt of said external source message; and (n) copying said external source message from said external message buffer to said receiving task.