Commit bd2c23af authored by Claes Sjofors's avatar Claes Sjofors

sev, threadsafe fix in valuecache

parent 2adf1b8a
......@@ -199,7 +199,9 @@ void sev_valuecache_double::write( int index, void *thread)
}
if ( m_write_cb) {
pwr_tTime time;
time_Aadd( &time, &m_start_time, time_Float64ToD( 0, wtime));
pwr_tDeltaTime dt;
time_Float64ToD( &dt, wtime);
time_Aadd( &time, &m_start_time, &dt);
(m_write_cb)( m_userdata, m_useridx, &wval, &time, thread);
}
}
......
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