Commit 3eebaca2 authored by Claes Sjofors's avatar Claes Sjofors

sev, threadsafe fix in qmon

parent bd2c23af
......@@ -960,6 +960,7 @@ get_tmo (
{
float rto;
pwr_tTime now;
pwr_tDeltaTime drto;
rto = lp->np->link[lp->lix].rtt_rto;
......@@ -974,7 +975,7 @@ get_tmo (
}
time_GetTimeMonotonic( &now);
time_Aadd( tmo, &now, time_FloatToD( 0, rto));
time_Aadd( tmo, &now, time_FloatToD( &drto, rto));
}
static void *
......
......@@ -1205,6 +1205,7 @@ get_tmo (
{
float rto;
pwr_tTime now;
pwr_tDeltaTime drto;
rto = lp->np->link.rtt_rto;
......@@ -1220,7 +1221,7 @@ get_tmo (
}
time_GetTimeMonotonic( &now);
time_Aadd( tmo, &now, time_FloatToD( 0, rto));
time_Aadd( tmo, &now, time_FloatToD( &drto, rto));
}
static void *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment