Statistics
| Branch: | Revision:

root / include / qemu / seqlock.h @ 10f5bff6

History | View | Annotate | Download (1.5 kB)

# Date Author Comment
ea753d81 10/17/2013 06:24 pm Paolo Bonzini

seqlock: introduce read-write seqlock

Seqlock implementation for QEMU. Usage idiom

reader:
do {
start = seqlock_read_begin(&sl);
...
} while (seqlock_read_retry(&sl, start));

writer:
seqlock_write_lock(&sl);
...
seqlock_write_unlock(&sl);...