Patent ID: 8385354

Claim:
A method in a multi-threaded processing system for minimizing resources for handling time-outs of read requests to a work queue in a work queue memory used by a threaded execution unit in the multi-threaded processing system, wherein the work queue is configured in a blocking mode, the method comprising the steps of: receiving, by a work queue execution engine module (WQEE), a first read request to the work queue when the work queue is empty; storing a first request information associated with the first read request in a status memory in the WQEE; starting a time-out timer in response to receiving the first read request; receiving, by the WQEE, a second read request to the work queue while the first read request is pending and the work queue is empty; storing a second request information associated with the second read request in the work queue memory; and responsive to the time-out timer expiring for the first read request while the first read request is pending, perform the steps of: sending an error response for the first read request; and restarting the time-out timer for the second read request taking into account an amount of time the second read request has already been pending.