• Vladislav Vaintroub's avatar
    Fix long xtradb shutdown on Windows XP · a2fee983
    Vladislav Vaintroub authored
    The reason for the long shutdown is hanging in io threads. It appears
    that just closing completion port on XP does not necessarily signal 
    thread waiting in GetIOCompletionStatus() (even if this works fine
    on later Windows versions)
    
    The fix is to wakeup background threads using PostQueuedCompletionStatus()
    with a special 'key' parameter indicating shutdown.
    a2fee983
os0file.c 112 KB