Searched refs:fReaderCount (Results 1 - 5 of 5) sorted by relevance

/haiku/src/kits/shared/
H A DRWLockManager.cpp18 fReaderCount(0)
41 lockable->fReaderCount++;
55 lockable->fReaderCount++;
69 lockable->fReaderCount++;
82 if (lockable->fReaderCount <= 0) {
87 if (--lockable->fReaderCount == 0)
104 if (lockable->fReaderCount == 0 && lockable->fWaiters.IsEmpty()) {
126 if (lockable->fReaderCount == 0 && lockable->fWaiters.IsEmpty()) {
148 if (lockable->fReaderCount == 0 && lockable->fWaiters.IsEmpty()) {
225 if (lockable->fReaderCount
[all...]
H A DRWLocker.cpp25 fReaderCount(0),
40 fReaderCount(0),
93 fReaderCount--;
99 if (fReaderCount == 0) {
161 if (fReaderCount > 0)
163 fReaderCount += fWriterReaderCount;
220 fReaderCount++;
232 if (++fReaderCount == 1) {
250 fReaderCount--;
294 fReaderCount
[all...]
/haiku/headers/private/shared/
H A DRWLocker.h65 // the writer data are stored in some special fields. /fReaderCount/ and
69 // /fWriterReaderCount/ is not contained in /fReaderCount/, but
71 // /fReaderCount/ can be considered to be the count of true reader's read
125 int32 fReaderCount; // total count... member in class:RWLocker
H A DRWLockManager.h46 int32 fReaderCount; member in class:BPrivate::RWLockable
/haiku/src/system/kernel/fs/
H A Dfifo.cpp190 int32 ReaderCount() const { return fReaderCount; }
214 int32 fReaderCount; member in class:fifo::Inode
349 fReaderCount(0),
407 || (fBuffer.Writable() < minToWrite && fReaderCount > 0)) {
428 if (fActive && fReaderCount == 0) {
640 fReaderCount++;
642 if (fReaderCount > 0 && fWriterCount > 0) {
677 if (--fReaderCount == 0)
688 if (fReaderCount == 0 && fWriterCount == 0) {
716 || (event == B_SELECT_ERROR && fReaderCount
[all...]

Completed in 38 milliseconds