You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Brian Geffon <br...@gmail.com> on 2011/08/27 10:16:40 UTC

Why doesn't TSContCall increment m_event_count

Hi,
I was hoping someone might be able to shed some light on this issue,
it appears that TSContCall never increments m_event_count; however, in
INKVConnInternal::handle_event it calls handle_event_count() which
decrements the event counter...why? Is this intended behavior or
perhaps a bug? All variations of TSContSchedule do increment the event
counter, so why would TSContCall be an exception? My use case is as
follows: continuation b obtains continuation a's mutex and then calls
TSContCall, but this causes m_event_count to be equal to -1 because
it's never incremented and then decremented. Thanks in advance!

Best,
Brian

ATS v3.0.1