• Chad MILLER's avatar
    Bug#38364: gen_lex_hash segmentation fault in debug build · f4d0b476
    Chad MILLER authored
    Bug#36428: MY_MUTEX_INIT_FAST is used before initialization
    
    On some thread implementations, we need a fake mutex attri-
    bute as a placeholder, which we define as a global variable,
    "my_fast_mutexattr".  Well. that must be initialized before 
    used in any mutexes, and the ordering of initializations in 
    the API function  my_init()  was wrong.
    
    Now, put my_thread_global_init(), which initializes the attri-
    butes that mutexes require.
    f4d0b476
my_init.c 14.4 KB