Searched refs:fWriteSem (Results 1 – 4 of 4) sorted by relevance
/haiku/src/tests/add-ons/kernel/file_systems/shared/consistency_check/ |
H A D | AdaptiveBuffering.cpp | 30 fWriteSem(-1), in AdaptiveBuffering() 45 delete_sem(fWriteSem); in ~AdaptiveBuffering() 83 fWriteSem = create_sem(fBufferCount - 1, "writer"); in Init() 84 if (fWriteSem < B_OK) in Init() 85 return fWriteSem; in Init() 145 while (acquire_sem(fWriteSem) == B_INTERRUPTED) in Run() 211 release_sem(fWriteSem); in _Writer()
|
H A D | AdaptiveBuffering.h | 41 sem_id fWriteSem; variable
|
/haiku/src/tests/servers/app/newerClipping/ |
H A D | MultiLocker.cpp | 22 fWriteSem(-1), in MultiLocker() 37 fWriteSem = create_sem(0, name); in MultiLocker() 42 fWriteSem = create_sem(0, "MultiLocker_WriteSem"); in MultiLocker() 46 if (fReadSem >= 0 && fWriteSem >=0 && fWriterLock >= 0) in MultiLocker() 84 delete_sem(fWriteSem); in ~MultiLocker() 196 locked = (acquire_sem_etc(fWriteSem, readers, B_DO_NOT_RESCHEDULE, in WriteLock() 236 unlocked = (release_sem_etc(fWriteSem, 1, in ReadUnlock()
|
H A D | MultiLocker.h | 52 sem_id fWriteSem; variable
|