×

Placing a task of a multithreaded environment in a known state

  • US 7,426,732 B2
  • Filed: 10/10/2003
  • Issued: 09/16/2008
  • Est. Priority Date: 11/13/1998
  • Status: Expired due to Term
First Claim
Patent Images

1. A method in a computer system for placing a task in a known state, the computer system having an operating system, the task having multiple threads executing on streams of a processor of the computer system, the processor having multiple streams for simultaneously executing threads of the task, the method comprising:

  • under control of the operating system,notifying each of the threads of the task executing on a stream of the processor to enter a known state, the known state being an active state in which the thread is not making productive use of the processor;

    for each of the threads,in response to receiving the notification, entering the known state so that an action can be performed with the task being in the known state, andnotifying a designated thread of the task that the thread has entered a known state; and

    under control of the designated thread,determining whether a notification has been received from each of the other threads of the task, andwhen it is determined that a notification has been received from each of the other threads of the task, notifying the operating system that the task is now in the known state.

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