• Poul-Henning Kamp's avatar
    Add a facility to give each session a unique number with a minimum of · ad277d29
    Poul-Henning Kamp authored
    locking:  Each pool fetches blocks of numbers to assign, then hands them
    out one by one using the existing lock.
    
    Session numbers are 32bit and start at zero on worker process startup.
    
    Together with another 32bit number, local to the session, they will
    be used to link VSL records into transactions.
    ad277d29
cache_main.c 3.76 KB