X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fcommon%2Fsrc%2Frtc_static.c;h=cc4730e00c470cbadd27e75f9fb74864c42506ca;hb=26864559bd7ae1b0fd2054ae07c3080fa9121e08;hp=25253422cbe66f497a9d6489c0b20dc87971a64d;hpb=c1c70b9063270159319be48bb091051da906b6d0;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/common/src/rtc_static.c b/src/rmr/common/src/rtc_static.c index 2525342..cc4730e 100644 --- a/src/rmr/common/src/rtc_static.c +++ b/src/rmr/common/src/rtc_static.c @@ -384,6 +384,9 @@ static void* rtc( void* vctx ) { if( ctx->shutdown != 0 ) { break; // mostly for unit test, but allows a forced stop } + + // extra housekeeping chores can be added here... + alarm_if_drops( ctx, pvt_cx ); // send an alarm if message are dropping, clear if we set one and thtings are better } vlevel = refresh_vlevel( 0 ); // ensure it's fresh when we get a message @@ -574,6 +577,8 @@ static void* raw_rtc( void* vctx ) { rt_epcounts( ctx->rtable, ctx->my_name ); } } + + alarm_if_drops( ctx ); // send an alarm if message are dropping, clear if we set one and thtings are better } vlevel = refresh_vlevel( 0 ); // ensure it's fresh when we get a message