×

Method of controlling thread access to a synchronization object

  • US 8,132,171 B2
  • Filed: 12/22/2006
  • Issued: 03/06/2012
  • Est. Priority Date: 12/22/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method of controlling thread access to a synchronization object, comprising:

  • sending a signal to wake a sleeping first thread after a second thread releases a synchronization object; and

    setting, by the second thread, a value of the synchronization object to transition the synchronization object to an in-flight state indicating that the synchronization object is available to be acquired, the first thread to remain awake for a predetermined time if a third thread acquires the synchronization object in the in-flight state before the first thread acquires the synchronization object in the in-flight state, wherein the in-flight state is where the second thread has released the synchronization object and the first thread has received a wake up signal but before the first thread is able to execute; and

    setting, by the first thread, the value of the synchronization object to transition the synchronization object from the in-flight state to a want-lock state indicating that the synchronization object is only available to be acquired by the first thread after the third thread releases the synchronization object.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×