Got rid of the static app resources lock. We use pthread_once() now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34370 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -144,8 +144,10 @@ private:
|
||||
int32 _CountWindows(bool includeMenus) const;
|
||||
BWindow* _WindowAt(uint32 index, bool includeMenus) const;
|
||||
|
||||
static void _InitAppResources();
|
||||
|
||||
private:
|
||||
static BResources* sAppResources;
|
||||
static BLocker sAppResourcesLock;
|
||||
|
||||
const char* fAppName;
|
||||
BPrivate::PortLink* fServerLink;
|
||||
|
||||
Reference in New Issue
Block a user