diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-10 14:45:15 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-10 14:45:15 +0100 |
commit | ef7b2ad3c40de029e4eda05a2454e6555e3a8a82 (patch) | |
tree | 622bf14bdd1b19c7c2242693d146d6bd8c95004a /lib | |
parent | 982fad340ad46b81257cfeb17f80fd6ca90ebc18 (diff) | |
download | abrt-ef7b2ad3c40de029e4eda05a2454e6555e3a8a82.tar.gz abrt-ef7b2ad3c40de029e4eda05a2454e6555e3a8a82.tar.xz abrt-ef7b2ad3c40de029e4eda05a2454e6555e3a8a82.zip |
abrtd: add comment about ccpp/abrtd race
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Utils/DebugDump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Utils/DebugDump.cpp b/lib/Utils/DebugDump.cpp index b1db1698..765b5146 100644 --- a/lib/Utils/DebugDump.cpp +++ b/lib/Utils/DebugDump.cpp @@ -197,7 +197,7 @@ void CDebugDump::Lock() sprintf(pid_buf, "%u", (unsigned)getpid()); while ((m_bLocked = GetAndSetLock(lockFile.c_str(), pid_buf)) != true) { - usleep(500000); + sleep(1); /* was 0.5 seconds */ } } |