-
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.
Jon Olav Hauglid authoredThis 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