×

System and method for supporting cooperative concurrency in a middleware machine environment

  • US 9,378,045 B2
  • Filed: 02/28/2013
  • Issued: 06/28/2016
  • Est. Priority Date: 02/28/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for supporting cooperative concurrency in a priority queue of a middleware system, the priority queue including a calendar ring area that queues requests according to target response time and a lane area that queues requests moved from the calendar ring area to the lane area due to contention between consumers, the method comprising, with the middleware system, performing the method of:

  • detecting that a first thread that is associated with a first consumer and a second thread that is associated with a second consumer contend to claim a request in the priority queue; and

    handling the contention without locks to expose the contention, the handling including;

    placing, by the first thread, the request from the calendar ring area that is under contention into the lane area of the priority queue;

    releasing, by the first thread, the second thread; and

    consuming the request in the lane area, by the second thread that is associated with the second consumer.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×