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 ?


Origin commit data
------------------
Commit: 0d4ce318c3
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-09-21 (Fri, 21 Sep 2012)
This commit is contained in:
[CST] Focus
2012-09-21 18:47:42 +04:00
parent 0397d4c20c
commit 91cbb8644c

View File

@@ -601,12 +601,19 @@ void CInfoViewerBB::showSysfsHdd()
sysper = get_fs_usage("/");
showBarSys(sysper);
#if 0
//HDD info in a seperate thread
if(!hddperTflag) {
hddperTflag=true;
pthread_create(&hddperT, NULL, hddperThread, (void*) this);
pthread_detach(hddperT);
}
#else
if (!check_dir(g_settings.network_nfs_recordingdir)) {
sysper = get_fs_usage(g_settings.network_nfs_recordingdir);
showBarHdd(sysper);
}
#endif
}
}