MT#61822 check for break before warning

Change-Id: I244675f88f19ac0361a75e8762e7557497901149
pull/1897/head
Richard Fuchs 4 months ago
parent 77e8542229
commit ab0c2b0528

@ -306,6 +306,9 @@ static void thread_looper_helper(void *fp) {
uring_thread_loop();
if (ret == TLA_BREAK)
break;
struct timeval stop;
gettimeofday(&stop, NULL);
long long duration_us = timeval_diff(&stop, &rtpe_now);
@ -317,9 +320,6 @@ static void thread_looper_helper(void *fp) {
warn_limit_pct,
warn_limit_us / 1000000, warn_limit_us % 1000000);
if (ret == TLA_BREAK)
break;
struct timespec sleeptime = interval_ts;
struct timespec remtime;
while (true) {

Loading…
Cancel
Save