enhanced dumpmoving_scmd.c

This commit is contained in:
2025-02-17 21:39:48 +03:00
parent 5250aa185d
commit 828523c7e1
4 changed files with 58 additions and 50 deletions

View File

@@ -253,6 +253,7 @@ static void *mountthread(void _U_ *u){
pthread_mutex_unlock(&datamutex);
// allow writing & getters
//DBG("t0=%g, tnow=%g", t0-t00, dtime()-t00);
if(dtime() - t0 >= Conf.MountReqInterval) usleep(50);
while(dtime() - t0 < Conf.MountReqInterval);
t0 = dtime();
}