summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Utils/DebugDump.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Utils/DebugDump.cpp b/lib/Utils/DebugDump.cpp
index 89be923e..fcd3b728 100644
--- a/lib/Utils/DebugDump.cpp
+++ b/lib/Utils/DebugDump.cpp
@@ -108,11 +108,13 @@ void CDebugDump::Lock()
pid_t nPID = getpid();
std::stringstream ss;
ss << nPID;
+ std::cerr << "CDebugDump::Lock(): waiting...";
while (!GetAndSetLock(lockPath, ss.str()))
{
- std::cerr << "CDebugDump::Lock(): waiting..." << std::endl;
- usleep(100);
+ std::cerr << ".";
+ usleep(5000);
}
+ std::cerr << "done." << std::endl;
}
void CDebugDump::UnLock()