Browse Source

MT#61822 check for break before warning

Change-Id: I244675f88f19ac0361a75e8762e7557497901149
pull/1897/head
Richard Fuchs 11 months ago
parent
commit
ab0c2b0528
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      daemon/helpers.c

+ 3
- 3
daemon/helpers.c View File

@ -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