×

Interruptible thread synchronization method and apparatus

  • US 8,286,166 B2
  • Filed: 01/22/2007
  • Issued: 10/09/2012
  • Est. Priority Date: 02/24/2006
  • Status: Active Grant
First Claim
Patent Images

1. An interruptible thread synchronization method for efficiently accessing an object, the method comprising:

  • controlling an exclusive access to an object by threads, using a monitor; and

    interrupting a first one of the threads that are on standby for the monitor;

    wherein the first one of the threads is determined by sequentially waking up at least two of the threads that are on standby for the monitor, checking each of the at least two of the threads for a condition, andwhen a checked one of the at least two threads meets the condition, selecting the checked one of the at least two threads meeting the condition as the first one of the threads, and placing the checked remaining ones of the at least two threads back on standby,wherein the selected thread is completely released from the monitor when the selected thread fails to acquire the monitor.

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