assigned names to "some BLocker"s to aid debugging

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14702 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen
2005-11-04 16:54:21 +00:00
parent d05775b3bd
commit 89bdf57382
5 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
*/
static BLocker sLock;
static BLocker sLock("AppServerLink_sLock");
namespace BPrivate {
+5 -2
View File
@@ -42,8 +42,11 @@ namespace OpenBeOS {
* in it.
*
*/
BMessageQueue::BMessageQueue() :
fTheQueue(NULL), fQueueTail(NULL), fMessageCount(0)
BMessageQueue::BMessageQueue()
: fTheQueue(NULL),
fQueueTail(NULL),
fMessageCount(0),
fLocker("BMessageQueue_fLocker")
{
}
+1 -1
View File
@@ -657,7 +657,7 @@ PaletteConverter::GrayColorForIndex(uint8 index) const
}
// TODO: Remove these and palette_converter() when BScreen is available.
static BLocker gPaletteConverterLock;
static BLocker gPaletteConverterLock("BBitmap_PalConvLock");
static PaletteConverter gPaletteConverter;
// palette_converter
+1 -1
View File
@@ -40,7 +40,7 @@
bool BDragger::sVisible;
bool BDragger::sInited;
BLocker BDragger::sLock;
BLocker BDragger::sLock("BDragger_sLock");
BList BDragger::sList;
const static rgb_color kZombieColor = {220, 220, 220, 255};
+1 -1
View File
@@ -25,7 +25,7 @@ BDiskDeviceList::BDiskDeviceList(bool useOwnLocker)
fSubscribed(false)
{
if (useOwnLocker)
fLocker = new(nothrow) BLocker;
fLocker = new(nothrow) BLocker("BDiskDeviceList_fLocker");
}
// destructor