Remove outdated comments in thread event

This commit is contained in:
Yinan Zhang 2020-03-23 14:57:20 -07:00
parent fc052ff728
commit 855d20f6f3

View File

@ -186,11 +186,9 @@ te_ctx_next_event_set(tsd_t *tsd, te_ctx_t *ctx, uint64_t v) {
* of thread event handling that we can rely on and need to promise. * of thread event handling that we can rely on and need to promise.
* The invariants are only temporarily violated in the middle of: * The invariants are only temporarily violated in the middle of:
* (a) event_advance() if an event is triggered (the te_event_trigger() call * (a) event_advance() if an event is triggered (the te_event_trigger() call
* at the end will restore the invariants), * at the end will restore the invariants), or
* (b) te_##event##_event_update() (the te_event_update() call at the * (b) te_##event##_event_update() (the te_event_update() call at the
* end will restore the invariants), or * end will restore the invariants).
* (c) te_alloc_rollback() if the rollback falls below the last_event
* (the te_event_update() call at the end will restore the invariants).
*/ */
JEMALLOC_ALWAYS_INLINE void JEMALLOC_ALWAYS_INLINE void
te_assert_invariants(tsd_t *tsd) { te_assert_invariants(tsd_t *tsd) {