Synchronization techniques in a multithreaded environment
First Claim
1. A method in a computer system for detecting access to memory, the method comprising:
- establishing an exception indicator for a memory location;
enabling an exception to be raised when the memory location is accessed; and
when an exception is raised as a result of access to that memory location,identifying the exception indicator that has been established for the memory location, the exception indicator specifying the type of exception processing;
when the access is a read access, performing processing for read access of the memory location according to the identified exception indicator; and
when the access is a write access, performing processing for write access of the memory location according to the identified exception indicator.
0 Assignments
0 Petitions
Accused Products
Abstract
Various techniques for manipulating data using access states of memory, access control fields of pointers and operations, and exception raising and exception trapping in a multithreaded computer system. In particular, the techniques include synchronization support for a thread blocked in a word, demand evaluation of values, parallel access of multiple threads to a list, synchronized and unsynchronized access to a data buffer, use of forwarding to avoid checking for an end of a buffer, use of sentinel word to detect access past a data structure, concurrent access to a word of memory using different synchronization access modes, and use of trapping to detect access to restricted memory.
80 Citations
48 Claims
-
1. A method in a computer system for detecting access to memory, the method comprising:
-
establishing an exception indicator for a memory location; enabling an exception to be raised when the memory location is accessed; and when an exception is raised as a result of access to that memory location, identifying the exception indicator that has been established for the memory location, the exception indicator specifying the type of exception processing; when the access is a read access, performing processing for read access of the memory location according to the identified exception indicator; and when the access is a write access, performing processing for write access of the memory location according to the identified exception indicator. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer system for accessing memory comprising:
-
means for establishing an exception indicator for a memory location; means for enabling an exception to be raised when the memory location is accessed; and trap handler means for identifying the exception indicator that has been established for the memory location, for performing processing for read access of the memory location according to the identified exception indicator, and for performing processing for write access of the memory location according to the identified exception indicator, wherein the exception indicator specifies the type of exception processing. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
-
36. A method in trap handler for handling access to a memory location with an established exception indicator, the trap handler executing when an exception is raised as a result of access to that memory location, the method comprising:
-
identifying the exception indicator that has been established for the memory location, the exception indicator specifying the type of exception processing; when the access is a read access, performing processing for read access of the memory location according to the identified exception indicator; and when the access is a write access, performing processing for write access of the memory location according to the identified exception indicator. - View Dependent Claims (37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48)
-
Specification