• Alexander Alekhin's avatar
    core(tls): implement releasing of TLS on thread termination · 17e2bf57
    Alexander Alekhin authored
    - move TLS & instrumentation code out of core/utility.hpp
    - (*) TLSData lost .gather() method (to dispose thread data on thread termination)
    - use TLSDataAccumulator for reliable collecting of thread data
    - prefer using of .detachData() + .cleanupDetachedData() instead of .gather() method
    
    (*) API is broken: replace TLSData => TLSDataAccumulator if gather required
    (objects disposal on threads termination is not available in accumulator mode)
    17e2bf57
umatrix.cpp 35.1 KB