File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ void pull_msg_source_impl::readloop()
94
94
if (!ok) {
95
95
// Should not happen, we've checked POLLIN.
96
96
GR_LOG_ERROR (d_logger, " Failed to receive message." );
97
- std::this_thread::sleep_for (100ms );
97
+ std::this_thread::sleep_for (100us );
98
98
continue ;
99
99
}
100
100
@@ -108,7 +108,7 @@ void pull_msg_source_impl::readloop()
108
108
}
109
109
110
110
} else {
111
- std::this_thread::sleep_for (100ms );
111
+ std::this_thread::sleep_for (100us );
112
112
}
113
113
}
114
114
}
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ void req_msg_source_impl::readloop()
113
113
if (!ok) {
114
114
// Should not happen, we've checked POLLIN.
115
115
GR_LOG_ERROR (d_logger, " Failed to receive message." );
116
- std::this_thread::sleep_for (100ms );
116
+ std::this_thread::sleep_for (100us );
117
117
continue ;
118
118
}
119
119
@@ -127,7 +127,7 @@ void req_msg_source_impl::readloop()
127
127
}
128
128
129
129
} else {
130
- std::this_thread::sleep_for (100ms );
130
+ std::this_thread::sleep_for (100us );
131
131
}
132
132
}
133
133
}
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ void sub_msg_source_impl::readloop()
93
93
if (!ok) {
94
94
// Should not happen, we've checked POLLIN.
95
95
GR_LOG_ERROR (d_logger, " Failed to receive message." );
96
- std::this_thread::sleep_for (100ms );
96
+ std::this_thread::sleep_for (100us );
97
97
continue ;
98
98
}
99
99
@@ -106,7 +106,7 @@ void sub_msg_source_impl::readloop()
106
106
GR_LOG_ERROR (d_logger, std::string (" Invalid PMT message: " ) + e.what ());
107
107
}
108
108
} else {
109
- std::this_thread::sleep_for (100ms );
109
+ std::this_thread::sleep_for (100us );
110
110
}
111
111
}
112
112
}
You can’t perform that action at this time.
0 commit comments