| 128 | } |
| 129 | |
| 130 | void |
| 131 | INKContInternal::handle_event_count(int event) |
| 132 | { |
| 133 | if ((event == EVENT_IMMEDIATE) || (event == EVENT_INTERVAL) || event == TS_EVENT_HTTP_TXN_CLOSE) { |
| 134 | int val = ink_atomic_increment((int *)&m_event_count, -1); |
| 135 | if (val <= 0) { |
| 136 | ink_assert(!"not reached"); |
| 137 | } |
| 138 | |
| 139 | m_deletable = (m_closed != 0) && (val == 1); |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | int |
| 144 | INKContInternal::handle_event(int event, void *edata) |
no test coverage detected