Searched refs:fReadSem (Results 1 – 4 of 4) sorted by relevance
/haiku/src/tests/add-ons/kernel/file_systems/shared/consistency_check/ |
H A D | AdaptiveBuffering.cpp | 29 fReadSem(-1), in AdaptiveBuffering() 44 delete_sem(fReadSem); in ~AdaptiveBuffering() 79 fReadSem = create_sem(0, "reader"); in Init() 80 if (fReadSem < B_OK) in Init() 81 return fReadSem; in Init() 143 release_sem(fReadSem); in Run() 179 release_sem(fReadSem); in _QuitWriter() 193 while (acquire_sem(fReadSem) == B_INTERRUPTED) in _Writer()
|
H A D | AdaptiveBuffering.h | 40 sem_id fReadSem; variable
|
/haiku/src/tests/servers/app/newerClipping/ |
H A D | MultiLocker.cpp | 20 fReadSem(-1), in MultiLocker() 35 fReadSem = create_sem(0, name); in MultiLocker() 41 fReadSem = create_sem(0, "MultiLocker_ReadSem"); in MultiLocker() 46 if (fReadSem >= 0 && fWriteSem >=0 && fWriterLock >= 0) in MultiLocker() 83 delete_sem(fReadSem); in ~MultiLocker() 142 locked = (acquire_sem_etc(fReadSem, 1, B_DO_NOT_RESCHEDULE, in ReadLock() 279 unlocked = (release_sem_etc(fReadSem, readersWaiting, in WriteUnlock()
|
H A D | MultiLocker.h | 48 sem_id fReadSem; variable
|