We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c03bc8b commit 157873fCopy full SHA for 157873f
include/behaviortree_cpp/utils/wakeup_signal.hpp
@@ -16,9 +16,6 @@ class WakeUpSignal
16
/// signal was received.
17
bool waitFor(std::chrono::microseconds usec)
18
{
19
- if(usec.count() <= 0) {
20
- return ready_.load();
21
- }
22
std::unique_lock<std::mutex> lk(mutex_);
23
auto res = cv_.wait_for(lk, usec, [this]{
24
return ready_.load();
0 commit comments