• Jan Lindström's avatar
    MDEV-7403: should not pass recv_writer_thread_handle to CloseHandle() · 4a325159
    Jan Lindström authored
    Analysis: For some reason actual thread handle is not
    returned on Windows instead lpThreadId was returned and
    thread handle was closed after thread create. Later
    CloseHandle was called for recv_writer_thread_handle
    and psort_info->thread_hdl.
    
    Fix: Return thread handle from os_thread_create()
    also on Windows and store these thread handles also
    in srv0start.cc so that they can be later closed.
    4a325159
srv0start.cc 87.4 KB