Github user SolidWallOfCode commented on the pull request: https://github.com/apache/trafficserver/pull/397#issuecomment-166794993 It lets the C++ API lock a mutex that is contained in a continuation in a scoped fashion. The already existing mutex locking mechanisms handle mutexes via the POSIX interface ({{pthread_mutex}} via {{pthread_mutex_lock}} and {{pthread_mutex_unlock}}). Those mutexes are completely independent of ATS provided mutexes. This makes mutual locking difficult. {{ScopedContinuationLock}} makes it possible for the C++ API to lock a continuation in a way that is detectable by core ATS.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---