diff options
author | Glenn Kasten <gkasten@google.com> | 2012-02-28 12:30:08 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-02-28 16:38:09 -0800 |
commit | 86e3362f1589eda1b1604f9d0fa31b3a78ef8aec (patch) | |
tree | 227bfe3b3d8b924366b34e5eabfb707d6186e0e0 /services/audioflinger/AudioFlinger.h | |
parent | f64dfccd96286255fd382486c94cdb48921c45fa (diff) | |
download | frameworks_base-86e3362f1589eda1b1604f9d0fa31b3a78ef8aec.zip frameworks_base-86e3362f1589eda1b1604f9d0fa31b3a78ef8aec.tar.gz frameworks_base-86e3362f1589eda1b1604f9d0fa31b3a78ef8aec.tar.bz2 |
Shorten thread names
prctl(PR_SET_NAME) limits to 15 characters. Before we had names like
"Binder Thread #" and the counter was cut off :-( Also remove redundant
"thread" at end of name; it's always a thread.
Change-Id: I1f99c2730ba0787ed9b59c15914356cddf698e2f
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index e908d3f..457bd98 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -548,7 +548,7 @@ private: Vector< sp<EffectChain> > mEffectChains; uint32_t mDevice; // output device for PlaybackThread // input + output devices for RecordThread - static const int kNameLength = 32; + static const int kNameLength = 16; // prctl(PR_SET_NAME) limit char mName[kNameLength]; sp<IPowerManager> mPowerManager; sp<IBinder> mWakeLockToken; |