diff options
author | Darrell Anderson <[email protected]> | 2012-05-15 14:55:58 -0500 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-08-26 16:41:35 +0200 |
commit | 27d73efc1fd439cdf4874051f8e4b39a1c01fdb0 (patch) | |
tree | 20ac84ad70536edbd9b7dbc6cb0638c784b6fbd6 | |
parent | 179020ecaf148b5db41b0d679fc6883f7d8d1e47 (diff) | |
download | tdebase-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)
-rw-r--r-- | kioslave/system/kdedmodule/systemdirnotify.cpp | 3 |
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", |