Techniques for an interrupt free operating system
First Claim
1. A method in a multithreaded processor for processing events without interrupt notifications, the method comprising:
- creating a thread to execute on a stream of the processor; and
during execution of the thread, executing a loop that determines whether an event has occurred; and
in response to determining whether an event has occurred, assigns a different thread to process the event so that multiple events can be processed in parallel.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system in a multithreaded processor for processing events without interrupt notifications. In one aspect of the present invention, an operating system creates a thread to execute on a stream of the processor. During execution of the thread, the thread executes a loop that determines whether an event has occurred and, in response to determining whether an event has occurred, assigns a different thread to process the event so that multiple events can be processed in parallel and so that interrupts are not needed to signal that the event has occurred. Another aspect of the present invention provides a method and system for processing asynchronously occurring events without interrupt notifications. To achieve this processing, a first thread is executed to generate a notification that the event has occurred upon receipt of the asynchronously occurring event. A second thread is also executed that loops determining whether a notification has been generated and, in response to determining that a notification has been generated, performing the processing necessary for the event.
-
Citations
23 Claims
-
1. A method in a multithreaded processor for processing events without interrupt notifications, the method comprising:
-
creating a thread to execute on a stream of the processor; and
during execution of the thread, executing a loop that determines whether an event has occurred; and
in response to determining whether an event has occurred, assigns a different thread to process the event so that multiple events can be processed in parallel. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method in a multithreaded processor for processing asynchronously occurring events without interrupt notifications, the method comprising:
-
upon receipt of the asynchronously occurring event, executing a first thread to generate a notification that the event has occurred; and
executing a second thread with a loop that determines whether a notification has been generated;
in response to determining that a notification has been generated, performs the processing necessary for the event. - View Dependent Claims (11, 12, 13, 14, 15, 17, 18, 19)
-
-
16. A method in a computer for reducing the rate at which a program executes instructions by executing an instruction to access data in memory pointed to by a chain of forwarding words so that subsequent instructions are not executed until a memory subsystem resolves the chain of forwarding words.
- 20. A method in a computer system for reducing the rate at which a program executes instructions by executing an operation to perform a synchronized access to a word of memory that will eventually fail so that the issuing of new instructions is deferred until after receiving notification of the failure.
Specification