commit 6bbc77c3f84accfc3487018c696bc51d09360850
Author: Praveen K V <email address hidden>
Date: Thu Apr 20 19:53:48 2017 +0530
Replace tbb::task::spawn() by tbb::task::enqueue() and also support for task monitoring
Replace tbb::task::spawn() by tbb::task::enqueue(). enqueue() is more
appropriate call since task library just fires the task without calling
spawn_root_and_wait()
Also, introduced a TaskMonitor class which monitors number of tasks
enqueued to scheduler and number of tasks spawned by TBB. If the monitor
finds tasks are enqueued but not scheduled for a configured time, it
will exit the program.
Reviewed: https:/ /review. opencontrail. org/32311 github. com/Juniper/ contrail- controller/ commit/ 6bbc77c3f84accf c3487018c696bc5 1d09360850
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.1
commit 6bbc77c3f84accf c3487018c696bc5 1d09360850
Author: Praveen K V <email address hidden>
Date: Thu Apr 20 19:53:48 2017 +0530
Replace tbb::task::spawn() by tbb::task: :enqueue( ) and also support for task monitoring
Replace tbb::task::spawn() by tbb::task: :enqueue( ). enqueue() is more and_wait( )
appropriate call since task library just fires the task without calling
spawn_root_
Also, introduced a TaskMonitor class which monitors number of tasks
enqueued to scheduler and number of tasks spawned by TBB. If the monitor
finds tasks are enqueued but not scheduled for a configured time, it
will exit the program.
Conflicts: agent/cmn/ agent.cc agent/contrail- vrouter- agent.conf agent/init/ agent_param. cc
src/base/task.cc
src/base/task.h
src/vnsw/
src/vnsw/
src/vnsw/
Conflicts: agent/init/ agent_param. cc agent/init/ agent_param. h
src/vnsw/
src/vnsw/
Change-Id: Ia68d52f4aba0e7 9a3fe75f8c4fc24 8d49ab94faf
Closes-Bug: #1684993