• Tom Lane's avatar
    Improve Windows implementation of WaitLatch/WaitLatchOrSocket. · 8ebc908c
    Tom Lane authored
    Ensure that signal handlers are serviced before this function returns.
    This should make the behavior more like Unix.  Also, add some more
    error checking, and make some other cosmetic improvements.
    
    No back-patch since it's not clear whether this is fixing any live bug
    that would affect 9.1.  I'm more concerned about 9.2 anyway given our
    considerable recent expansions in the usage of WaitLatch.
    8ebc908c
win32_latch.c 6.76 KB