Temporary fix for a probable race condition on some systems.

Still needs to be resolved by determining the root cause.
Partially resolves bug report 760.
(cherry picked from commit d41f521719)
v3.5.13-sru
Darrell Anderson 13 years ago committed by Slávek Banko
parent 179020ecaf
commit 27d73efc1f

@ -36,6 +36,9 @@ SystemDirNotify::SystemDirNotify()
void SystemDirNotify::init()
{
if( mInited )
// FIXME Work around a probable race condition by inserting printf delay before following
// code is executed -- the root cause of the race needs investigation and resolution.
printf("[systemdirnotify] SystemDirNotify::init(mInited)");
return;
mInited = true;
KGlobal::dirs()->addResourceType("system_entries",

Loading…
Cancel
Save