System and method for custom context switching

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

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.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

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.

Rate now

     

Profile ID: LFUS-PAI-O-1713206

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.