OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04eaf3e
)
Add units to time periods
author
Glenn Kasten
<gkasten@google.com>
Mon, 9 Jan 2012 16:33:38 +0000
(08:33 -0800)
committer
Glenn Kasten
<gkasten@google.com>
Wed, 18 Jan 2012 23:45:55 +0000
(15:45 -0800)
Change-Id: Ib980e2676cecf5d9b0c2e388da6dc8e370df8abb
services/audioflinger/AudioPolicyService.cpp
patch
|
blob
|
history
diff --git
a/services/audioflinger/AudioPolicyService.cpp
b/services/audioflinger/AudioPolicyService.cpp
index
fcf014f
..
b4da4a1
100644
(file)
--- a/
services/audioflinger/AudioPolicyService.cpp
+++ b/
services/audioflinger/AudioPolicyService.cpp
@@
-47,7
+47,7
@@
static const char *kDeadlockedString = "AudioPolicyService may be deadlocked\n";
static const char *kCmdDeadlockedString = "AudioPolicyService command thread may be deadlocked\n";
static const int kDumpLockRetries = 50;
-static const int kDumpLockSleep = 20000;
+static const int kDumpLockSleep
Us
= 20000;
static bool checkPermission() {
if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
@@
-563,7
+563,7
@@
static bool tryLock(Mutex& mutex)
locked = true;
break;
}
- usleep(kDumpLockSleep);
+ usleep(kDumpLockSleep
Us
);
}
return locked;
}