You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Walt Karas <wk...@oath.com.INVALID> on 2018/12/14 16:48:11 UTC

mutex use in the TS C++ API

Does anyone understand the use of mutexes in the TS C++ API?  For example,
this use:

https://github.com/apache/trafficserver/blob/master/src/tscpp/api/utils_internal.cc#L222

Wouldn't the TS core insure that there would never be any contention for
this mutex?  If there were contention for this mutex, wouldn't it be very
bad, since it could block a whole thread for potentially a long time?