Patent ID: 6345313
Filing Date: 2002-02-05
Classification: G06F

Abstract:
In a computer system that includes a plurality of threads and a set of objects that can each be synchronized with one or more of the threads from said plurality of threads, a method of synchronizing one of the objects from the set of objects with one or more of the threads from said plurality of threads, the method comprising the steps of:requesting synchronization of a first thread from said plurality of threads with a first object from said set of objects; determining whether a synchronization construct from a cache of synchronization constructs is associated with said first object; in response to determining that a particular synchronization construct is associated with said first object, using said particular synchronization construct to synchronize said first thread with said first object; and maintaining an association between said particular synchronization construct and said first object when there is no thread waiting to be synchronized with said first object and no thread synchronized with said first object.