use WallDuration instead of Duration
This commit is contained in:
parent
4741f756df
commit
2361d7050f
|
@ -205,7 +205,7 @@ TEST(SubscriptionQueue, clearInCallback)
|
||||||
void clearWhileThreadIsBlockingCallback(bool* done, boost::barrier* barrier)
|
void clearWhileThreadIsBlockingCallback(bool* done, boost::barrier* barrier)
|
||||||
{
|
{
|
||||||
barrier->wait();
|
barrier->wait();
|
||||||
ros::Duration(.1).sleep();
|
ros::WallDuration(.1).sleep();
|
||||||
*done = true;
|
*done = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue