×

METHOD, APPARATUS AND ARTICLE OF MANUFACTURE FOR TIMEOUT WAITS ON LOCKS

  • US 20090271789A1
  • Filed: 04/28/2008
  • Published: 10/29/2009
  • Est. Priority Date: 04/28/2008
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for performing a timeout wait for a thread requesting access to a shared resource locked by a process lock, comprising:

  • sending, by a first thread, a timeout request message to a timeout handler process;

    transitioning the first thread to an indefinitely blocked state;

    determining, from the timeout request message, a timeout period after which the first thread should be unblocked from the indefinitely blocked state while waiting to access to the shared resource;

    storing the timeout request message in a data structure configured to store a plurality of timeout request messages; and

    upon determining that the timeout period has elapsed and that the first thread is still requesting access to the shared resource, sending a wakeup message to a message queue associated with the indefinitely blocked thread.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×