×

Condition variable to synchronize high level communication between processing threads

  • US 6,026,427 A
  • Filed: 11/21/1997
  • Issued: 02/15/2000
  • Est. Priority Date: 11/21/1997
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer system, comprising:

  • a semaphore that blocks processing of a thread, the thread waiting until one of a signal issued from another thread or a time-out condition occurs;

    a wait counter that counts a number of waited threads;

    means for waking up a waited thread based on a time-out condition of the waited thread and for decrementing the wait counter;

    a signal counter that counts a signaled number of waited threads to be woken up in response to a wake up signal;

    means for waking up the signaled number of waited threads based on no antecedence and for decrementing the wait counter and the signal counter;

    means for mutually locking the thread from access to the wait counter and the signal counter;

    means for determining if the signaled number exceeds zero and the waited number is zero; and

    means for adjusting semaphore status by generating a number of dummy waited threads equal to the signaled number when the signaled number exceeds zero and the waited number is zero.

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