We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4a93d0 + 22c4241 commit 6808516Copy full SHA for 6808516
services/audioflinger/AudioPolicyService.cpp
@@ -47,7 +47,7 @@ static const char kDeadlockedString[] = "AudioPolicyService may be deadlocked\n"
47
static const char kCmdDeadlockedString[] = "AudioPolicyService command thread may be deadlocked\n";
48
49
static const int kDumpLockRetries = 50;
50
-static const int kDumpLockSleep = 20000;
+static const int kDumpLockSleepUs = 20000;
51
52
static bool checkPermission() {
53
if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
@@ -563,7 +563,7 @@ static bool tryLock(Mutex& mutex)
563
locked = true;
564
break;
565
}
566
- usleep(kDumpLockSleep);
+ usleep(kDumpLockSleepUs);
567
568
return locked;
569
0 commit comments