Hanley, Flight & Zimmerman, LLC
Methods and apparatus for locking objects in a multi-threaded environment
Apparatus and methods for locking objects in a multi-threaded environment are provided. An example method permits a first thread to lock an object to exclusively execute at least a portion of a routine associated with the object. The method includes, if the object is owned by a second thread, locking the object via an atomic execution and assigning ownership of the object to the first thread. It also includes, if the object is owned by the first thread, locking the object without an atomic execution.
Intel Corporation
Y G
Y10S G06F
additional inventional
Xiaofeng
Li