Patents
US 7,937,709 B2#18601378 Most CitedExpiredUnited States (USPTO)Utility

Synchronizing multiple threads efficiently

6Forward Citations (#18601378 Global)
0.4/yrCitation Velocity (#19902356 Global)
1.37Citation PageRank (#26427543 Global)
50Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

In one embodiment, the present invention includes a method of assigning a location within a shared variable for each of multiple threads and writing a value to a corresponding location to indicate that the corresponding thread has reached a barrier. In such manner, when all the threads have reached the barrier, synchronization is established. In some embodiments, the shared variable may be stored in a cache accessible by the multiple threads. Other embodiments are described and claimed.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method comprising: assigning one of a plurality of locations within a shared variable stored in a last level cache shared by and accessible to at least two processors for each of multiple threads, each of the plurality of locations within the shared variable readable by all of the multiple threads but only writable by one of the multiple threads; and writing a value to a corresponding location within the shared variable assigned to a first thread to indicate that the first thread reached a barrier, the shared variable to indicate a synchronization status for the multiple threads at the barri

  2. Claim 2Depends on #1

    The method of claim 1 , wherein each of the plurality of locations comprises a byte of the shared variable.

Technical Overview & Description

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

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 4,926,375 AMultiple nodes broadcast communication method with receiver identification by bit position in transferred massage199087
US 5,430,850 AData processing system with synchronization coprocessor for multiple threads1995217
US 5,448,732 AMultiprocessor system and process synchronization method therefor199565
US 5,535,393 ASystem for parallel processing that compiles a filed sequence of instructions within an iteration space1996502
US 5,611,070 AMethods and apparatus for performing a write/load cache protocol199734
US 5,745,778 AApparatus and method for improved CPU affinity in a multiprocessor system1998530
US 5,872,963 AResumption of preempted non-privileged threads with no kernel intervention1999165
US 5,991,845 ARecoverable spin lock system199965
US 6,009,426 AMethod of managing a shared memory using read and write locks199971
US 6,058,460 AMemory allocation in a multithreaded environment2000106
US 6,134,594 AMulti-user, multiple tier distributed application architecture with single-user access control of middle tier objects2000105
US 6,167,423 AConcurrency control of state machines in a computer system using cliques200093
US 6,243,788 B1Cache architecture to enable accurate cache sensitivity2001114
US 6,289,410 B1Method and system for maintaining consistency of shared objects based upon instance variable locking200115
US 2002010836 A1Method and system for exclusive two-level caching in a chip-multiprocessor—87
US 2002032831 A1VLIW computer processing architecture with on-chip dynamic RAM—12
US 6,370,625 B1Method and apparatus for lock synchronization in a microprocessor system2002187
US 2002046324 A1Scalable architecture based on single-chip multiprocessing—209
US 2002060685 A1Method, system, and computer program product for managing terrain rendering information—56
US 2002078122 A1Switching method in a multi-threaded processor—81
US 2002091909 A1Matrix processing method of shared-memory scalar parallel-processing computer and recording medium—24
US 2002095453 A1Thread-specific heaps—106
US 2002124205 A1System and method for performing batch synchronization for a test sequence—44
US 2002138717 A1Multiple-thread processor with single-thread interface shared among threads—50

Non-Patent Literature (3)

  • E.I. COMPENDEX No: 1991030082382 High speed synchronization of processors using fuzzy barriers. Gupta, Rajiv: Univ of Pittsburgh, Pittsburgh, United States International Journal of Parallel Programming ( Int J Parallel Program ) 1990 19/1 (53-73) Publication Date: 19901201.
  • Gale Group PROMT(R) (c) 2009 Gale/Cengage. Supplier Number: 93792719 Mastering concurrency: correctly implementing concurrency in computer software is vital for accurate computational modelling, and for the safety and reliability of embedded control systems. (IT). Moores, Jim Nuclear Engineering Int
  • The Patent Office of the State Intellectual Property Office of the People's Republic of China, Third Office Action dated May 8, 2009, in a related application.