Enhanced management of thread-local objects

US9697054B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9697054-B2
Application numberUS-201514867105-A
CountryUS
Kind codeB2
Filing dateSep 28, 2015
Priority dateSep 28, 2015
Publication dateJul 4, 2017
Grant dateJul 4, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method, executed by a computer, includes receiving a request to instantiate an instance of a thread-local manager for a particular thread, instantiating the instance of the thread-local manager, and providing global visibility to the instance of the thread-local manager. The method further includes manipulating thread-local variables corresponding to the particular thread and removing all the thread-local variables when the particular thread completes a task. A computer system and computer program product corresponding to the above method are also disclosed herein.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product comprising: one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising instructions to: receive a request to instantiate an instance of a thread-local manager for a particular thread-local variable of a particular thread, wherein the instance of the thread-local manager only has access to the particular thread-local variable; instantiate the instance of the thread-local manager; provide global visibility to the instance of the thread-local manager, wherein the global visibility enables the instance of the thread-local manager to manage all thread-local variables of the particular thread, wherein prior to providing the global visibility, all of the thread-local variables other than the particular thread-local variable are restricted to be managed by other corresponding instances of thread-local manager; call the instance of the thread-local manager to manipulate all thread-local variables corresponding to the particular thread; and send a single command to the instance of the thread-local manger to remove all the thread-local variables when the particular thread completes a task. 2. The computer program product of claim 1 , wherein the program instructions comprise instructions to implement, by the instance of the thread-local manager, all capabilities corresponding to a native thread-local manager. 3. The computer program product of claim 1 , wherein the program instructions comprise instructions to restrict instantiation of the thread-local manager to a single instance corresponding to the particular thread-local variable of the particular thread. 4. The computer program product of claim 1 , wherein the instructions to manipulate the thread-local variables comprise instructions for one or more of initializing, adding, setting, getting, and removing the thread-local variables. 5. The computer program product of claim 1 , wherein the program instructions comprise instructions to provide, by the instance of the thread-local manager, a command to remove all of the thread-local variables. 6. The computer program product of claim 1 , wherein the task is part of a computer program that is ready to run. 7. A computer system comprising: one or more computer processors; one or more computer readable storage media; program instructions stored on the computer readable storage media for execution by at least one of the computer processors, the program instructions comprising instructions to: receive a request to instantiate an instance of a thread-local manager for a particular thread-local variable of a particular thread, wherein the instance of the thread-local manager only has access to the particular thread-local variable; instantiate the instance of the thread-local manager; provide global visibility to the instance of the thread-local manager, wherein the global visibility enables the instance of the thread-local manager to manage all of thread-local variables of the particular thread, wherein prior to providing the global visibility, all of the thread-local variables other than the particular thread-local variable are restricted to be managed by other corresponding instances of thread-local manager; call the instance of the thread-local manager to manipulate all thread-local variables corresponding to the particular thread; and send a single command to the instance of the thread-local manger to remove all the thread-local variables when the particular thread completes a task. 8. The computer system of claim 7 , wherein the program instructions comprise instructions to implement, by the instance of the thread-local manager, all capabilities corresponding to a native thread-local manager. 9. The computer system of claim 7 , wherein the program instructions comprise instructions to restrict instantiation of the thread-local manager to a single instance corresponding to the particular thread-local variable of the particular thread. 10. The computer system of claim 7 , wherein the instructions to manipulate the thread-local variables comprise instructions for one or more of initializing, adding, setting, getting, and removing the thread-local variables. 11. The computer system of claim 7 , wherein the program instructions comprise instructions to provide, by the instance of the thread-local manager, a command to remove all of the thread-local variables.

Assignees

Inventors

Classifications

  • G06F9/52Primary

    Program synchronisation; Mutual exclusion, e.g. by means of semaphores · CPC title

  • G06F8/36Primary

    Software reuse · CPC title

  • Thread allocation · CPC title

  • the resource being a machine, e.g. CPUs, Servers, Terminals · CPC title

  • G06F8/31Primary

    Programming languages or programming paradigms · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9697054B2 cover?
A method, executed by a computer, includes receiving a request to instantiate an instance of a thread-local manager for a particular thread, instantiating the instance of the thread-local manager, and providing global visibility to the instance of the thread-local manager. The method further includes manipulating thread-local variables corresponding to the particular thread and removing all the…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/52. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 04 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).