Use return value of concurrent queue try_pop to determine
whether to enqueue HTTP session request queue processing
task. The current method of using empty with try_pop/push
without mutex can lead to situation where concurrent queue
is not empty and no task is enqueued.
Closes-Bug: #1447837
Reviewed: https:/ /review. opencontrail. org/9894 github. org/Juniper/ contrail- controller/ commit/ c1802eeaf3035fc 4bd4fd21a7eaae2 e4a827c92e
Committed: http://
Submitter: Zuul
Branch: master
commit c1802eeaf3035fc 4bd4fd21a7eaae2 e4a827c92e
Author: Megh Bhatt <email address hidden>
Date: Mon May 4 17:38:44 2015 -0700
Use return value of concurrent queue try_pop to determine
whether to enqueue HTTP session request queue processing
task. The current method of using empty with try_pop/push
without mutex can lead to situation where concurrent queue
is not empty and no task is enqueued.
Closes-Bug: #1447837
Change-Id: Ia475d3fa6b1d0f b540a159d5aed47 a3dde96f2fc