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:
Ingo Weinhold
2009-11-30 11:54:30 +00:00
parent 048efdbc0a
commit 879f9a0937
2 changed files with 42 additions and 35 deletions
+3 -1
View File
@@ -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;