Added global lock that can be used for lazy initializations.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22502 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-10-10 21:30:51 +00:00
parent 2827e2995b
commit 67c578e73f
2 changed files with 11 additions and 26 deletions
+3
View File
@@ -18,6 +18,9 @@
namespace BPrivate {
BLocker gInitializationLock("global init lock");
// get_app_path
/*! \brief Returns the path to an application's executable.
\param team The application's team ID.