• Vladislav Vaintroub's avatar
    Fix long xtradb shutdown on Windows XP · fcb29391
    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.
    fcb29391
os0file.c 112 KB