Loading mysys/my_thr_init.c +3 −0 Original line number Diff line number Diff line Loading @@ -60,11 +60,14 @@ static uint get_thread_lib(void); my_bool my_thread_global_init(void) { #if defined(SIGALRM) || defined(SIGUSR1) /* On Windows, these signals are not defined, but this whole part is not needed. */ thd_lib_detected= get_thread_lib(); if (thd_lib_detected == THD_LIB_LT) thr_client_alarm= SIGALRM; else thr_client_alarm= SIGUSR1; #endif if (pthread_key_create(&THR_KEY_mysys,0)) { Loading Loading
mysys/my_thr_init.c +3 −0 Original line number Diff line number Diff line Loading @@ -60,11 +60,14 @@ static uint get_thread_lib(void); my_bool my_thread_global_init(void) { #if defined(SIGALRM) || defined(SIGUSR1) /* On Windows, these signals are not defined, but this whole part is not needed. */ thd_lib_detected= get_thread_lib(); if (thd_lib_detected == THD_LIB_LT) thr_client_alarm= SIGALRM; else thr_client_alarm= SIGUSR1; #endif if (pthread_key_create(&THR_KEY_mysys,0)) { Loading