Locking of computer resources

Electrical computers and digital data processing systems: input/ – Access locking

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

710108, G06F 946

Patent

active

059681578

ABSTRACT:
A computer processor includes a number of register pairs LOCKADDR/LOCKCOUNT. In each pair, the LOCKADDR/LOCKCOUNT register is to hold a value that identifies a lock for a computer resource. When a lock instruction issues, the corresponding LOCKCOUNT register is incremented. When an unlock instruction issues, the corresponding LOCKCOUNT register is decremented. The lock is freed when a count associated with the LOCKCOUNT register is decremented to zero. This scheme provides fast locking and unlocking in many frequently occurring situations. In some embodiments, the LOCKCOUNT registers are omitted, and the lock is freed on any unlock instruction corresponding to the lock. In some embodiments, a computer object includes a header which includes a pointer to a class structure. The class structure is aligned on a 4-byte boundary, and therefore two LSBs of the pointer to the class structure are zero and are not stored in the header. Instead, two header LSBs store: (1) a LOCK bit indicating whether the object is locked, and (2) a WANT bit indicating whether a thread is waiting to acquire a lock for the object.

REFERENCES:
patent: 4435766 (1984-03-01), Haber et al.
patent: 5261108 (1993-11-01), Hideo et al.
patent: 5263161 (1993-11-01), Barth et al.
patent: 5341491 (1994-08-01), Ramanujan
patent: 5375241 (1994-12-01), Walsh
patent: 5535365 (1996-07-01), Barriuso et al.
patent: 5574922 (1996-11-01), James
patent: 5592673 (1997-01-01), Kurabayashi et al.
patent: 5594907 (1997-01-01), Tanaka
patent: 5623673 (1997-04-01), Gephardt et al.
patent: 5669002 (1997-09-01), Buch
patent: 5737545 (1998-04-01), Wszolek et al.
Catanzaro, Ben, "Multiprocessor System Architectures" (SunSoft Press, 1994) pp. 232-233.
Lindhollm, Tim, et al., "The Java.TM. Virtual Machine Specification" (Addison-Wesley Publishers, 1997).
Catanzaro, Ben, "Multiprocessor System Architectures" (SunSoft Press, 1994), pp. 251-253.
Wayner, Peter, "Sun Gambles on Java Chips", Byte, Nov. 1996, pp. 79-82, 84, 86, and 88.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Locking of computer resources does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Locking of computer resources, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Locking of computer resources will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2049998

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.