Patents
US 7,216,346 B2#6390486 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for managing thread execution in a multithread application

15Forward Citations (#6390486 Global)
0.8/yrCitation Velocity (#9486097 Global)
2.41Citation PageRank (#10816417 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for managing the suspension and resumption of threads on an individual basis in an information handling system having an operating system (OS) kernel and a user process having multiple threads of execution. An originating thread issues a pthread_kill( ) service request to the OS kernel to send a specified signal (thread-stop or thread-continue) to a specified target thread within the same process to suspend or resume execution of the target thread. More particularly, in response to a request from a thread to suspend the execution of the target thread, the OS kernel sends a thread-stop signal (SIGTHSTOP) to the target thread, transferring control within the target thread from a normally executing program portion to a signal interrupt routine. Upon gaining control, the signal interrupt routine issues a service request to the kernel to stop the target thread. In response to a request from a thread to resume execution of the target thread, the OS kernel sends a thread-continue signal (SIGTHCONT) to the target thread to post the waiting target thread and return control to the signal interrupt routine. Upon regaining control, the signal interrupt routine returns control to the p

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 15.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In an information handling system having an operating system kernel and a user process having multiple threads of execution including a target thread, the target thread having a program context and an execution state and the target thread containing a normally executing program portion, a signal interrupt routine for obtaining control of execution of the target thread upon delivery of a signal from the operating system kernel to the target thread, and signal interrupt logic for transferring control from the normally executing program portion to the signal interrupt routine in response to a sig

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
WO 9,302,414 A2Data processing system with synchronization coprocessor for multiple threads—43
US 5,430,850 AData processing system with synchronization coprocessor for multiple threads1995217
US 5,515,538 AApparatus and method for interrupt handling in a multi-threaded operating system kernel1996379
US 5,560,029 AData processing system with synchronization coprocessor for multiple threads1996147
US 5,632,032 ACross address space thread control in a multithreaded environment1997186
US 5,632,036 ASystem and method for processing interprocess signals19972
US 5,666,533 AProgram execution management using process enclaves which define the scope of high-level language semantics and threads improving cooperation between processes written in multiple languages199738
US 5,706,515 ASystem and method for implementing an atomic wait for notification operation199872
US 5,742,822 AMultithreaded processor which dynamically discriminates a parallel execution and a sequential execution of threads1998115
JP H11282815 AMulti-thread computer system and multi-thread execution control method—20
WO 0,001,170 A2Method, apparatus, and article of manufacture for processing a virtual call in a multi-threaded program—3
JP 2000047887 ASpeculative multi-thread processing method and its device—22
US 6,119,145 AMultithreaded client application storing a separate context for each transaction thus allowing threads to resume transactions started by other client threads200044
US 6,128,640 AMethod and apparatus for user-level support for multiple event synchronization200033
US 6,205,414 B1Methodology for emulation of multi-threaded processes in a single-threaded operating system200142

Non-Patent Literature (4)

  • IBM Technical Disclosure Bulletin, vol. 36, No. 11, Nov. 1993, pp. 483-485, S. Bender and D. Hughes.
  • Muller, "A Library Implementation of Posix Threads Under Unix", USENIX, 1993, pp. 29-42.
  • Ravenbrook, "Design of the Posix Thread Extensions for MPS", Available at RAVENBROOK.COM/PROJECT/MPS/MASTER/DESIGN/PTHREADEXT/, 2000, pp. 1-6.
  • UNIX Network Programming, W. Richard Stevens, 1990, PTR Prentice-Hall, Inc. , pp. 43-53. Base Operating System and Extensions Technical Reference, vol. 1, pp. 1-2.