Name the lockers to be able to identify them when debugging/analyzing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33706 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -235,7 +235,7 @@ MediaExtractor::GetNextChunk(int32 stream,
|
||||
return fStreamInfo[stream].status;
|
||||
|
||||
#if DISABLE_CHUNK_CACHE > 0
|
||||
static BLocker locker;
|
||||
static BLocker locker("media extractor next chunk");
|
||||
BAutolock lock(locker);
|
||||
return fReader->GetNextChunk(fStreamInfo[stream].cookie, chunkBuffer,
|
||||
chunkSize, mediaHeader);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
static BLocker sLock;
|
||||
static BLocker sLock("media theme lock");
|
||||
|
||||
BMediaTheme* BMediaTheme::sDefaultTheme;
|
||||
|
||||
|
||||
@@ -364,6 +364,8 @@ BAudioFileStream::Channel()
|
||||
|
||||
BADCSource::BADCSource(BMediaChannel *channel,
|
||||
mk_time start)
|
||||
:
|
||||
fEventLock("BADCSource lock")
|
||||
{
|
||||
UNIMPLEMENTED();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user