• Heikki Linnakangas's avatar
    Simplify Windows implementation of latches. There's no need to keep a · 236b6bc2
    Heikki Linnakangas authored
    dynamic pool of event handles, we can permanently assign one for each
    shared latch. Thanks to that, we no longer need a separate shared memory
    block for latches, and we don't need to know in advance how many shared
    latches there is, so you no longer need to remember to update
    NumSharedLatches when you introduce a new latch to the system.
    236b6bc2
latch.h 1.54 KB