GroupProcNo(uint16_t group, uint16_t procIndex) : m_groupProc((group << 6) | procIndex)
{
// Making this the same as the # of NUMA node we support.
- assert(group < 0x40);
- assert(procIndex <= 0x3f);
+ _ASSERTE(group < 0x40);
+ _ASSERTE(procIndex <= 0x3f);
}
uint16_t GetGroup() { return m_groupProc >> 6; }
uint32_t currentProcessCpuCount = PAL_GetLogicalCpuCountFromOS();
if (PAL_GetCurrentThreadAffinitySet(AffinitySet::BitsetDataSize, g_processAffinitySet.GetBitsetData()))
{
- assert(currentProcessCpuCount == g_processAffinitySet.Count());
+ _ASSERTE(currentProcessCpuCount == g_processAffinitySet.Count());
}
else
{
{
WRAPPER_NO_CONTRACT;
- assert(m_event.IsValid());
+ _ASSERTE(m_event.IsValid());
m_event.CloseEvent();
}
{
WRAPPER_NO_CONTRACT;
- assert(m_event.IsValid());
+ _ASSERTE(m_event.IsValid());
m_event.Set();
}
{
WRAPPER_NO_CONTRACT;
- assert(m_event.IsValid());
+ _ASSERTE(m_event.IsValid());
m_event.Reset();
}
{
WRAPPER_NO_CONTRACT;
- assert(m_event.IsValid());
+ _ASSERTE(m_event.IsValid());
return m_event.Wait(timeout, alertable);
}
{
WRAPPER_NO_CONTRACT;
- assert(m_impl != nullptr);
+ _ASSERTE(m_impl != nullptr);
m_impl->CloseEvent();
}
{
WRAPPER_NO_CONTRACT;
- assert(m_impl != nullptr);
+ _ASSERTE(m_impl != nullptr);
m_impl->Set();
}
{
WRAPPER_NO_CONTRACT;
- assert(m_impl != nullptr);
+ _ASSERTE(m_impl != nullptr);
m_impl->Reset();
}
{
WRAPPER_NO_CONTRACT;
- assert(m_impl != nullptr);
+ _ASSERTE(m_impl != nullptr);
return m_impl->Wait(timeout, alertable);
}
GC_NOTRIGGER;
} CONTRACTL_END;
- assert(m_impl == nullptr);
+ _ASSERTE(m_impl == nullptr);
NewHolder<GCEvent::Impl> event = new (nothrow) GCEvent::Impl();
if (!event)
{
GC_NOTRIGGER;
} CONTRACTL_END;
- assert(m_impl == nullptr);
+ _ASSERTE(m_impl == nullptr);
NewHolder<GCEvent::Impl> event = new (nothrow) GCEvent::Impl();
if (!event)
{
GC_NOTRIGGER;
} CONTRACTL_END;
- assert(m_impl == nullptr);
+ _ASSERTE(m_impl == nullptr);
NewHolder<GCEvent::Impl> event = new (nothrow) GCEvent::Impl();
if (!event)
{
GC_NOTRIGGER;
} CONTRACTL_END;
- assert(m_impl == nullptr);
+ _ASSERTE(m_impl == nullptr);
NewHolder<GCEvent::Impl> event = new (nothrow) GCEvent::Impl();
if (!event)
{