Searched refs:GetWriteCount (Results 1 – 6 of 6) sorted by relevance
211 VTKM_CONT vtkm::cont::Token::ReferenceCount* GetWriteCount(const LockType& lock) in GetWriteCount() function in vtkm::cont::internal::Buffer::InternalsStruct256 if (token.IsAttached(internals->GetWriteCount(lock)) || in Enqueue()278 if (token.IsAttached(internals->GetWriteCount(lock)) || in CanRead()292 return (*internals->GetWriteCount(lock) < 1); in CanRead()300 if (token.IsAttached(internals->GetWriteCount(lock)) || in CanWrite()315 return ((*internals->GetWriteCount(lock) < 1) && (*internals->GetReadCount(lock) < 1)); in CanWrite()354 token.Attach(internals, internals->GetWriteCount(lock), lock, &internals->ConditionVariable); in WaitToWrite()
578 VTKM_ASSERT((*this->GetReadCount(lock) == 0) && (*this->GetWriteCount(lock) == 0)); in ~InternalStruct()664 VTKM_CONT vtkm::cont::Token::ReferenceCount* GetWriteCount(const LockType& lock) const in GetWriteCount() function1213 if (token.IsAttached(this->Internals->GetWriteCount(lock)) ||1227 return (*this->Internals->GetWriteCount(lock) < 1);1235 if (token.IsAttached(this->Internals->GetWriteCount(lock)) ||1249 return ((*this->Internals->GetWriteCount(lock) < 1) &&1291 this->Internals->GetWriteCount(lock),1331 if (token.IsAttached(this->Internals->GetWriteCount(lock)) ||
74 int32_t GetWriteCount() const { return (int32_t)(count >> 32); } in GetWriteCount() function107 …while (GetCount().GetReadCount() > (int)(!is_writer) || GetCount().GetWriteCount() > (int)is_write… in WaitForObjectIdle()170 if (prevCount.GetReadCount() == 0 && prevCount.GetWriteCount() == 0) { in StartWrite()175 assert(prevCount.GetWriteCount() != 0); in StartWrite()244 if (prevCount.GetReadCount() == 0 && prevCount.GetWriteCount() == 0) { in StartRead()247 } else if (prevCount.GetWriteCount() > 0 && use_data->thread != tid) { in StartRead()
73 int32_t GetWriteCount() const { return (int32_t)(count >> 32); } in GetWriteCount() function106 …while (GetCount().GetReadCount() > (int)(!is_writer) || GetCount().GetWriteCount() > (int)is_write… in WaitForObjectIdle()169 if (prevCount.GetReadCount() == 0 && prevCount.GetWriteCount() == 0) { in StartWrite()174 assert(prevCount.GetWriteCount() != 0); in StartWrite()243 if (prevCount.GetReadCount() == 0 && prevCount.GetWriteCount() == 0) { in StartRead()246 } else if (prevCount.GetWriteCount() > 0 && use_data->thread != tid) { in StartRead()
846 uint32_t GetWriteCount() in GetWriteCount() function
508 uint32_t writeCount = _dummyCpu->GetWriteCount(); in ProcessAllBreakpoints()