summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-05-15 14:55:58 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-05-15 14:55:58 -0500
commitd41f52171966007990bd9176cde217a8ba0f335a (patch)
treea91d9ec59e6497f4e001571f22a791e35f850bc7
parentb45b4bd730da3196a4658773f7eef46e004a39d6 (diff)
downloadtdebase-d41f52171966007990bd9176cde217a8ba0f335a.tar.gz
tdebase-d41f52171966007990bd9176cde217a8ba0f335a.zip
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.
-rw-r--r--kioslave/system/kdedmodule/systemdirnotify.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kioslave/system/kdedmodule/systemdirnotify.cpp b/kioslave/system/kdedmodule/systemdirnotify.cpp
index 162d96621..4f703efd6 100644
--- a/kioslave/system/kdedmodule/systemdirnotify.cpp
+++ b/kioslave/system/kdedmodule/systemdirnotify.cpp
@@ -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",