Invention Grant
US08359459B2 Using hardware support to reduce synchronization costs in multithreaded applications
有权
使用硬件支持来降低多线程应用程序中的同步成本
- Patent Title: Using hardware support to reduce synchronization costs in multithreaded applications
- Patent Title (中): 使用硬件支持来降低多线程应用程序中的同步成本
-
Application No.: US12127509Application Date: 2008-05-27
-
Publication No.: US08359459B2Publication Date: 2013-01-22
- Inventor: Darryl J. Gove
- Applicant: Darryl J. Gove
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Rory D. Rankin
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A processor configured to synchronize threads in multithreaded applications. The processor includes first and second registers. The processor stores a first bitmask in the first register and a second bitmask in the second register. For each bitmask, each bit corresponds with one of multiple threads. A given bit in the first bitmask indicates the corresponding thread has been assigned to execute a portion of a unit of work. A corresponding bit in the second bitmask indicates the corresponding thread has completed execution of its assigned portion of the unit of work. The processor receives updates to the second bitmask in the second register and provides an indication that the unit of work has been completed in response to detecting that for each bit in the first bitmask that corresponds to a thread that is assigned work, a corresponding bit in the second bitmask indicates its corresponding thread has completed its assigned work.
Public/Granted literature
- US20090300643A1 USING HARDWARE SUPPORT TO REDUCE SYNCHRONIZATION COSTS IN MULTITHREADED APPLICATIONS Public/Granted day:2009-12-03
Information query