×

Synchronization objects for multi-computer systems

  • US 7,058,948 B2
  • Filed: 08/10/2001
  • Issued: 06/06/2006
  • Est. Priority Date: 08/10/2001
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for granting threads running on various multi-processor nodes within a multi-computer system ownership of a global synchronization object comprising the steps of:

  • maintaining a record of the state of the global synchronization object as free, owned, or in transition;

    when a thread seeks ownership of the global synchronization object, granting the thread, through a spinlock mechanism, access to the status of the global synchronization object, and granting the thread ownership if the global synchronization object is free;

    if the global synchronization object is owned or in transition, adding the thread'"'"'s node to a queue of nodes having threads awaiting ownership of the global synchronization object, and permitting the thread to seek ownership of a local synchronization object established on the thread'"'"'s node by a local operating system, but temporarily blocking other threads on the thread'"'"'s node from seeking ownership of the local synchronization object and forcing them into suspension;

    when the global synchronization object ownership is released by a thread, placing the global synchronization object into its transition state, and then arranging for each node in the queue, in turn, to stop blocking threads on its node from seeking ownership of the local synchronization object, and permitting any thread that then gains ownership of its local synchronization object to resume execution and to gain ownership of the global synchronization object if the object is free or in transition, this process continuing until the global synchronization object is owned or until no more threads seek its ownership, at which point the global synchronization object enters its free state.

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