• unknown's avatar
    Bug#30960 processlist state '*** DEAD ***' on recent 5.0.48 windows builds · edce44ee
    unknown authored
    The problem is that unimplemented WIN32 version of pthread_kill
    is returning ESRCH no matter the arguments, causing calls to
    mysqld_list_processes to set the procinfo to dead because
    pthread_kill returns non zero. The dead procinfo would show
    up on a second invocation of show processlist.
    
    
    include/my_pthread.h:
      When unimplemented, pthread_kill must return zero for
      any process id other then zero.
    edce44ee
my_pthread.h 26.9 KB