mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
gui/infoviewer_bb.cpp: disable thread to update hdd used percent -
there is screen corruption/artifacts (race?). better solution needed, probably hdd monitor thread which cache data ?
This commit is contained in:
@@ -601,12 +601,19 @@ void CInfoViewerBB::showSysfsHdd()
|
|||||||
sysper = get_fs_usage("/");
|
sysper = get_fs_usage("/");
|
||||||
showBarSys(sysper);
|
showBarSys(sysper);
|
||||||
|
|
||||||
|
#if 0
|
||||||
//HDD info in a seperate thread
|
//HDD info in a seperate thread
|
||||||
if(!hddperTflag) {
|
if(!hddperTflag) {
|
||||||
hddperTflag=true;
|
hddperTflag=true;
|
||||||
pthread_create(&hddperT, NULL, hddperThread, (void*) this);
|
pthread_create(&hddperT, NULL, hddperThread, (void*) this);
|
||||||
pthread_detach(hddperT);
|
pthread_detach(hddperT);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (!check_dir(g_settings.network_nfs_recordingdir)) {
|
||||||
|
sysper = get_fs_usage(g_settings.network_nfs_recordingdir);
|
||||||
|
showBarHdd(sysper);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user