• Vladislav Vaintroub's avatar
    MDEV-33748 get rid of pthread_(get_/set_)specific, use thread_local · 7c5fdc9b
    Vladislav Vaintroub authored
    Apart from better performance when accessing thread local variables,
    we'll get rid of things that depend on initialization/cleanup of
    pthread_key_t variables.
    
    Where appropriate, use compiler-dependent pre-C++11 thread-local
    equivalents, where it makes sense, to avoid initialization check overhead
    that non-static thread_local can suffer from.
    7c5fdc9b
table_status_by_thread.h 4.1 KB