summaryrefslogtreecommitdiffstats
path: root/kioslave
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-05-15 14:55:58 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-08-26 16:41:35 +0200
commit27d73efc1fd439cdf4874051f8e4b39a1c01fdb0 (patch)
tree20ac84ad70536edbd9b7dbc6cb0638c784b6fbd6 /kioslave
parent179020ecaf148b5db41b0d679fc6883f7d8d1e47 (diff)
downloadtdebase-27d73efc1fd439cdf4874051f8e4b39a1c01fdb0.tar.gz
tdebase-27d73efc1fd439cdf4874051f8e4b39a1c01fdb0.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. (cherry picked from commit d41f52171966007990bd9176cde217a8ba0f335a)
Diffstat (limited to 'kioslave')
-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",