×

Small barrier with local spinning

  • US 8,060,881 B2
  • Filed: 05/15/2007
  • Issued: 11/15/2011
  • Est. Priority Date: 05/15/2007
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented system for thread management, comprising:

  • a processor; and

    a memory comprising computer-readable instructions executable by the processor, the instructions including;

    a barrier component for spinning threads at corresponding local memory locations when meeting a process barrier according to a barrier object by invoking a stack component as the threads arrive at the process barrier, wherein the barrier object is defined as a bit vector that functions as a counter that specifies a total number of threads required to rendezvous at the process barrier to trigger release of the threads when no threads are waiting at the barrier, and as a pointer to a stack block list when at least one thread is waiting at the process barrier; and

    the stack component for creating and linking the stack blocks of the stack block list, wherein each stack block is associated with a respective one of the threads waiting at the barrier and is a tuple having at least a field related to the total number of threads.

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