Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/coreclr/gc/unix/events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ class GCEvent::Impl
#else // HAVE_CLOCK_GETTIME_NSEC_NP
st = pthread_cond_timedwait(&m_condition, &m_mutex, &endTime);
#endif // HAVE_CLOCK_GETTIME_NSEC_NP
// Verify that if the wait timed out, the event was not set
assert((st != ETIMEDOUT) || !m_state);
}

if (st != 0)
Expand Down
2 changes: 0 additions & 2 deletions src/coreclr/nativeaot/Runtime/unix/PalRedhawkUnix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@ class UnixEvent
#else // HAVE_CLOCK_GETTIME_NSEC_NP
st = pthread_cond_timedwait(&m_condition, &m_mutex, &endTime);
#endif // HAVE_CLOCK_GETTIME_NSEC_NP
// Verify that if the wait timed out, the event was not set
ASSERT((st != ETIMEDOUT) || !m_state);
}

if (st != 0)
Expand Down