Home
last modified time | relevance | path

Searched refs:fMaxThreads (Results 1 – 4 of 4) sorted by relevance

/haiku/src/servers/app/
H A DMultiLocker.cpp30 fMaxThreads(0), in MultiLocker()
50 fMaxThreads = sys.max_threads; in MultiLocker()
51 fDebugArray = (int32 *) malloc(fMaxThreads * sizeof(int32)); in MultiLocker()
52 for (int32 i = 0; i < fMaxThreads; i++) { in MultiLocker()
358 return fDebugArray[thread % fMaxThreads] > 0; in IsReadLocked()
388 if (fDebugArray[thread % fMaxThreads] != 0) in _RegisterThread()
391 fDebugArray[thread % fMaxThreads]++; in _RegisterThread()
400 ASSERT(fDebugArray[thread % fMaxThreads] == 1); in _UnregisterThread()
401 fDebugArray[thread % fMaxThreads]--; in _UnregisterThread()
H A DMultiLocker.h84 int32 fMaxThreads; variable
/haiku/src/tests/servers/app/newerClipping/
H A DMultiLocker.cpp29 fMaxThreads(0) in MultiLocker()
55 fMaxThreads = sys.max_threads; in MultiLocker()
56 fDebugArray = (int32 *) malloc(fMaxThreads * sizeof(int32)); in MultiLocker()
57 for (int32 i = 0; i < fMaxThreads; i++) { in MultiLocker()
387 if (fDebugArray[thread % fMaxThreads] > 0) locked = true; in IsReadLocked()
426 ASSERT_WITH_MESSAGE(fDebugArray[thread%fMaxThreads] == 0,"Nested ReadLock!\n"); in register_thread()
427 fDebugArray[thread%fMaxThreads]++; in register_thread()
449 ASSERT(fDebugArray[thread%fMaxThreads] == 1); in unregister_thread()
450 fDebugArray[thread%fMaxThreads]--; in unregister_thread()
H A DMultiLocker.h62 int32 fMaxThreads; variable