• Alessandro Rubini's avatar
    stats: use a sequence number · 9cebdc65
    Alessandro Rubini authored
    If the host wants a consistent view (*if* it wants it), it
    can wait for the sequence number to be even, read the lot and
    then check it did not change.
    
    If it is odd, it means the structure is being modified. If it changed
    after reading it means a new modification started.
    
    Not my invention: it's old stuff, though smart. See sequential locks
    in the kernel for example.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    9cebdc65
Name
Last commit
Last update
..
hw Loading commit data...
softpll.mk Loading commit data...
softpll_ng.c Loading commit data...
softpll_ng.h Loading commit data...
spll_common.c Loading commit data...
spll_common.h Loading commit data...
spll_debug.h Loading commit data...
spll_external.c Loading commit data...
spll_external.h Loading commit data...
spll_helper.c Loading commit data...
spll_helper.h Loading commit data...
spll_main.c Loading commit data...
spll_main.h Loading commit data...
spll_ptracker.c Loading commit data...
spll_ptracker.h Loading commit data...