Skip to content

Commit

Permalink
Remove TopicManagerProcessTask as it is unused
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Dewar <[email protected]>
  • Loading branch information
alexdewar committed Dec 13, 2021
1 parent 3a69da2 commit 7016377
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions gazebo/transport/ConnectionManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@
using namespace gazebo;
using namespace transport;

/// TBB task to process nodes.
class TopicManagerProcessTask : public tbb::task
{
/// Implements the necessary execute function
public: tbb::task *execute()
{
TopicManager::Instance()->ProcessNodes();
return NULL;
}
};

/// TBB task to establish subscriber to publisher connection.
class TopicManagerConnectionTask : public tbb::task
{
Expand Down Expand Up @@ -272,11 +261,6 @@ void ConnectionManager::RunUpdate()
if (this->masterConn)
this->masterConn->ProcessWriteQueue();

// Use TBB to process nodes. Need more testing to see if this makes
// a difference.
// TopicManagerProcessTask *task = new(tbb::task::allocate_root())
// TopicManagerProcessTask();
// tbb::task::enqueue(*task);
boost::recursive_mutex::scoped_lock lock(this->connectionMutex);

TopicManager::Instance()->ProcessNodes();
Expand Down

0 comments on commit 7016377

Please sign in to comment.