Skip to content
  • Jon Olav Hauglid's avatar
    7d897ecc
    Bug#19601484: REMOVE MYSYS THREAD LOCAL USAGE FROM THR_LOCK.C · 7d897ecc
    Jon Olav Hauglid authored
    This patch removes mysys_thread_var() calls from thr_lock.c
    and replaces them with explicit arguments to thr_lock() and
    thr_multi_lock().
    
    This reduces thread local storage usage and is a step towards
    removing the requirement of calling my_thread_init() and
    my_thread_end().
    
    The patch also fixes some valgrind issues in the thr_lock unit test.
    7d897ecc
    Bug#19601484: REMOVE MYSYS THREAD LOCAL USAGE FROM THR_LOCK.C
    Jon Olav Hauglid authored
    This patch removes mysys_thread_var() calls from thr_lock.c
    and replaces them with explicit arguments to thr_lock() and
    thr_multi_lock().
    
    This reduces thread local storage usage and is a step towards
    removing the requirement of calling my_thread_init() and
    my_thread_end().
    
    The patch also fixes some valgrind issues in the thr_lock unit test.
Loading