I agree with @maskit . I'm prefer to take the cont's lock before calling handleEvents .
There are many ways to make dispatchEvent unblocked: - create an new Event member in Continuation to hold the scheduling events. - dispatchEvent return an event object (do a large mess in source code) As far as I can talk, scheduled_event is always nullptr in current code. So there is always blocking lock in dispatchEvent(Maybe the lock has already been taken in continuation, But considering the continuation in different threads). I think there must be an appropriate way to avoid blocking lock. [ Full content available at: https://github.com/apache/trafficserver/pull/4157 ] This message was relayed via gitbox.apache.org for [email protected]
