×

Wake-and-go mechanism for a data processing system

  • US 8,516,484 B2
  • Filed: 02/01/2008
  • Issued: 08/20/2013
  • Est. Priority Date: 02/01/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method, in a data processing system, for performing a wake-and-go operation, the method comprising:

  • detecting a thread that is waiting for an event that modifies a data value associated with a target address;

    storing the target address in a wake-and-go entry of a content addressable memory in association with a thread identifier of the thread;

    placing the thread in a sleep state;

    responsive to detecting a write to the target address, using the target address to address the content addressable memory and returning, by the content addressable memory, a storage address of the wake-and-go entry; and

    placing the thread corresponding to the thread identifier in the wake-and-go entry in a non-sleep state; and

    responsive to the thread determining the data value being written to the target address is not the data value for which the thread is waiting, storing the target address in a wake-and-go entry of the content addressable memory in association with the thread identifier of the thread and placing the thread in a sleep state.

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