Invention Grant
- Patent Title: System to reduce interference in concurrent programs
- Patent Title (中): 减少并发程序干扰的系统
-
Application No.: US12255354Application Date: 2008-10-21
-
Publication No.: US07941616B2Publication Date: 2011-05-10
- Inventor: Sriram Rajamani , Ganesan Ramalingam , Venkatesh-Prasad Ranganath , Kapil Vaswani
- Applicant: Sriram Rajamani , Ganesan Ramalingam , Venkatesh-Prasad Ranganath , Kapil Vaswani
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Marshall, Gerstein & Borun LLP
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F13/00 ; G06F13/28

Abstract:
Locks are used to protect variables. All variables protected by a lock are allocated on a page associated with a lock. When a thread (called the owner) acquires the lock, a local copy of the memory page containing the variable is created, the original memory page is protected, and all access of the variable in the owner thread is directed to the local copy. Upon releasing the lock, the changes from the local copy are carried over to the memory page and the memory page is unprotected. Any concurrent access of the variable by non-owner threads triggers an exception handler (due to the protection mechanism) and delays such an access until after the owner thread has finished accessing the variable.
Public/Granted literature
- US20100100690A1 SYSTEM TO REDUCE INTERFERENCE IN CONCURRENT PROGRAMS Public/Granted day:2010-04-22
Information query