BPathMonitor: use pthread_once for initialization

This commit is contained in:
Ingo Weinhold
2013-06-27 21:57:40 +02:00
parent 6ca95bd813
commit ad1875fd70
2 changed files with 22 additions and 44 deletions
+2 -2
View File
@@ -33,8 +33,8 @@ private:
BPathMonitor();
~BPathMonitor();
static status_t _InitLockerIfNeeded();
static status_t _InitLooperIfNeeded();
static status_t _InitIfNeeded();
static void _Init();
};
} // namespace BPrivate