commit 52f203ea478e4f6721b3b0016211d48b531e4c57
Author: Praveen K V <email address hidden>
Date: Fri Apr 21 15:21:31 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/30655 github. com/Juniper/ contrail- controller/ commit/ 52f203ea478e4f6 721b3b0016211d4 8b531e4c57
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R2.21.x
commit 52f203ea478e4f6 721b3b0016211d4 8b531e4c57
Author: Praveen K V <email address hidden>
Date: Fri Apr 21 15:21:31 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.
Change-Id: I0db61f60c8fef5 c66c6deff6b5851 6b293628585
Fixes-Bug: #1684993