9417876

Thread Context Restoration in a Multithreading Computer System

PublishedAugust 16, 2016
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
13 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A computer system, comprising: a configuration comprising a core configurable between a single thread (ST) mode and a multithreading (MT) mode, the ST mode addressing a primary thread and the MT mode addressing the primary thread and one or more secondary threads on shared resources of the core; and a multithreading facility configured to control utilization of the configuration to perform a method comprising: based on switching from the MT mode to the ST mode, disabling the one or more secondary threads, wherein a thread context comprising program accessible register values and program counter values of the one or more secondary threads is made unavailable to programs; querying a last-specified maximum MT level in the ST mode to determine a last-set program-specified maximum thread-id of the configuration; and based on the last-set program-specified maximum thread-id indicating MT, obtaining the thread context of the one or more secondary threads by performing a) and b) comprising: a) executing a set MT instruction to resume the MT mode; and b) based on being in the resumed MT mode, accessing the thread context of the one or more secondary threads.

2

2. The computer system according to claim 1 , wherein the set MT instruction is a signal processor instruction comprising a set MT order and a program-specified maximum thread-id indicating MT.

3

3. The computer system according to claim 1 , further comprising saving the thread context of the one or more secondary threads based on switching to the ST mode.

4

4. The computer system according to claim 1 , wherein the switching from the MT mode to the ST mode is based on a non-clearing reset operation, and further wherein the executing of the set MT instruction to resume the MT mode and the accessing of the thread context of the one or more secondary threads is performed by a stand-alone dump program.

5

5. The computer system according to claim 4 , wherein the stand-alone dump program specifies the last program-specified maximum thread-id as a program-specified maximum thread-id when issuing a set-MT order to resume the MT mode.

6

6. The computer system according to claim 1 , wherein a clearing reset is performed prior to loading an operating system that does not support MT in the configuration to prevent an MT-aware stand-alone dump program from attempting to dump any secondary threads from the configuration.

7

7. The computer system according to claim 1 , wherein a program that is MT-aware but does not exploit MT, issues a set-MT order with a corresponding maximum thread-id of zero prior to executing a stand-alone dump program for the configuration.

8

8. The computer system according to claim 1 , wherein the last program-specified maximum thread-id is retained until a clear reset or a deactivation of the configuration occurs.

9

9. A computer program product for thread context restoration in a configuration comprising a core configurable between a single thread (ST) mode and a multithreading (MT) mode, the ST mode addressing a primary thread and the MT mode addressing the primary thread and one or more secondary threads on shared resources of the core, the computer program product comprising: a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a signal, the program instructions readable by a processing circuit to cause the processing circuit to perform a method comprising: based on switching from the MT mode to the ST mode, disabling the one or more secondary threads, wherein a thread context comprising program accessible register values and program counter values of the one or more secondary threads is made unavailable to programs; querying a last-specified maximum MT level in the ST mode to determine a last-set program-specified maximum thread-id of the configuration; and based on the last-set program-specified maximum thread-id indicating MT, obtaining the thread context of the one or more secondary threads by performing a) and b) comprising: a) executing a set MT instruction to resume the MT mode; and b) based on being in the resumed MT mode, accessing the thread context of the one or more secondary threads.

10

10. The computer program product according to claim 9 , wherein the set MT instruction is a signal processor instruction comprising a set MT order and a program-specified maximum thread-id indicating MT.

11

11. The computer program product according to claim 9 , further comprising saving the thread context of the one or more secondary threads based on switching to the ST mode.

12

12. The computer program product according to claim 9 , wherein the switching from the MT mode to the ST mode is based on a non-clearing reset operation, and further wherein the executing of the set MT instruction to resume the MT mode and the accessing of the thread context of the one or more secondary threads is performed by a stand-alone dump program.

13

13. The computer program product according to claim 9 , wherein the last program-specified maximum thread-id is retained until a clear reset or a deactivation of the configuration occurs.

Patent Metadata

Filing Date

Unknown

Publication Date

August 16, 2016

Inventors

Jonathan D. Bradbury
Fadi Y. Busaba
Mark S. Farrell
Charles W. Gainey JR.
Dan F. Greiner
Lisa Cranton Heller
Jeffrey P. Kubala
Damian L. Osisek
Donald W. Schmidt
Timothy J. Slegel

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “THREAD CONTEXT RESTORATION IN A MULTITHREADING COMPUTER SYSTEM” (9417876). https://patentable.app/patents/9417876

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.