Skip to content

Commit

Permalink
Merge pull request #1087 from soyersoyer/bs_ts
Browse files Browse the repository at this point in the history
boost::signals2::connect is thread safe, so the lock is unnecessary
  • Loading branch information
jspricke committed Jan 14, 2015
2 parents bd43f07 + f31499c commit 391801d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common/src/time_trigger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ pcl::TimeTrigger::~TimeTrigger ()
boost::signals2::connection
pcl::TimeTrigger::registerCallback (const callback_type& callback)
{
boost::unique_lock<boost::mutex> lock (condition_mutex_);
return (callbacks_.connect (callback));
}

Expand Down

0 comments on commit 391801d

Please sign in to comment.