MT#57466 MT#57337 set rtpe_now in thread

As this is running in a separate thread now, rtpe_now needs to be set
excplicitly in each iteration.

Fix-up for 6fe9cc9

Change-Id: Icb1ec8a27389bb48ee893a9a29e4e1c11447d61c
pull/1675/head
Richard Fuchs 3 years ago
parent 8c118257d4
commit 86f2a8fb60

@ -767,6 +767,7 @@ void ice_slow_timer(void) {
*/
void ice_slow_timer_iterator(void * dummy) {
while (!rtpe_shutdown) {
gettimeofday(&rtpe_now, NULL);
ice_slow_timer();
thread_cancel_enable();

@ -3510,6 +3510,7 @@ next:
}
void kernel_stats_updater_iterator(void * dummy) {
while (!rtpe_shutdown) {
gettimeofday(&rtpe_now, NULL);
kernel_stats_updater();
thread_cancel_enable();

Loading…
Cancel
Save