• Vladislav Vaintroub's avatar
    MDEV-10384 Windows : Refactor threading in mysqld startup. · 8f329e8d
    Vladislav Vaintroub authored
    Remove threads that are doing nothing but wait
    - main thread now handles the connections
    (if threadpool is used, also threadpool threads would wait for connections)
    - thread for socket and pipe connections are removed
    - shutdown thread is now removed, we wait for shutdown
    notification in main thread as well
    - kill_server() is also called inside the main thread, after connection
    loop finished.
    8f329e8d
mysqld.cc 340 KB