Patent
1994-04-15
1997-03-18
Kriess, Kevin A.
G06F 946
Patent
active
056131143
ABSTRACT:
A system for custom context switching comprises a thread accounting unit, a switching routine registration unit, a thread scheduling unit, a custom context switching unit, and a default context switching unit. The thread accounting unit creates a thread object for each thread present in a multithreaded execution environment, where the thread object includes data fields for storing a unique thread ID, a reference to a custom context switching routine, and a switching parameter signal. The switching routine registration unit stores a reference to a custom context switching routine in a particular thread object. The thread scheduling unit determines when rescheduling operations for transferring execution from one thread to another are required, and directs rescheduling operations. During rescheduling operations, the custom context switching unit initiates the execution of a custom context switching routine associated with a thread being switched-out, after which the default context switching unit performs a default context switch, after which the custom context switching unit initiates the execution of a custom context switching routine associated with a thread being switched-in. A method for custom context switching comprises the steps of: executing a thread until rescheduling is required; determining whether the thread has an associated custom context switching routine; in the event that the thread has an associated custom context switching routine, initiating the execution of the custom context switching routine; and performing a context switch.
REFERENCES:
patent: 5179702 (1993-01-01), Spix et al.
patent: 5197138 (1993-03-01), Hobbs et al.
patent: 5357617 (1994-10-01), Davis et al.
Anderson Eric W.
Harrison David F.
Apple Computer, Inc
Chavis John Q.
Kriess Kevin A.
LandOfFree
System and method for custom context switching does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with System and method for custom context switching, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for custom context switching will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-1713206