The thread, semaphore, and BLocker now have a name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2864 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -93,7 +93,7 @@ BMidiProducer::BMidiProducer(const char* name)
|
||||
{
|
||||
isConsumer = false;
|
||||
connections = new BList;
|
||||
locker = new BLocker();
|
||||
locker = new BLocker("MidiProducerLock");
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
BMidiRosterLooper::BMidiRosterLooper()
|
||||
: BLooper("MidiRosterLooper")
|
||||
{
|
||||
initLock = -1;
|
||||
roster = NULL;
|
||||
@@ -68,7 +69,7 @@ bool BMidiRosterLooper::Init(BMidiRoster* roster_)
|
||||
// "app registered" message in our MessageReceived() hook,
|
||||
// we release the semaphore and MidiRoster() will unblock.
|
||||
|
||||
initLock = create_sem(0, NULL);
|
||||
initLock = create_sem(0, "InitLock");
|
||||
|
||||
if (initLock < B_OK)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user