Invention Grant
- Patent Title: Wake-and-go mechanism with software save of thread state
- Patent Title (中): 唤醒机制,软件保存线程状态
-
Application No.: US12024797Application Date: 2008-02-01
-
Publication No.: US08612977B2Publication Date: 2013-12-17
- Inventor: Ravi K. Arimilli , Satya P. Sharma , Randal C. Swanberg
- Applicant: Ravi K. Arimilli , Satya P. Sharma , Randal C. Swanberg
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Stephen R. Tkacs; Stephen J. Walder, Jr.; Libby Z. Toub
- Main IPC: G06F9/46
- IPC: G06F9/46

Abstract:
A wake-and-go mechanism is provided for a data processing system. When a thread is waiting for an event, rather than performing a series of get-and-compare sequences, the thread updates a wake-and-go array with a target address associated with the event. Software may save the state of the thread. The thread is then put to sleep. When the wake-and-go array snoops a kill at a given target address, logic associated with wake-and-go array may generate an exception, which may result in a switch to kernel mode, wherein the operating system performs some action before returning control to the originating process. In this case, the trap results in other software, such as the operating system or background sleeper thread, for example, to reload thread from thread state storage and to continue processing of the active threads on the processor.
Public/Granted literature
- US20090199184A1 Wake-and-Go Mechanism With Software Save of Thread State Public/Granted day:2009-08-06
Information query