Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace tbb::task::spawn() by tbb::task::enqueue() and also support f…
…or 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. Conflicts: src/base/task.cc src/base/task.h src/vnsw/agent/cmn/agent.cc src/vnsw/agent/contrail-vrouter-agent.conf src/vnsw/agent/init/agent_param.cc Change-Id: Ia68d52f4aba0e79a3fe75f8c4fc248d49ab94faf Closes-Bug: #1684993 (cherry picked from commit a2eb064)
- Loading branch information
1 parent
64aa2d4
commit ac4e397
Showing
14 changed files
with
545 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.