summaryrefslogtreecommitdiffstats
path: root/lib/Utils/DebugDump.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-10 14:45:15 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-10 14:45:15 +0100
commitef7b2ad3c40de029e4eda05a2454e6555e3a8a82 (patch)
tree622bf14bdd1b19c7c2242693d146d6bd8c95004a /lib/Utils/DebugDump.cpp
parent982fad340ad46b81257cfeb17f80fd6ca90ebc18 (diff)
downloadabrt-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/Utils/DebugDump.cpp')
-rw-r--r--lib/Utils/DebugDump.cpp2
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 */
}
}