mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 06:13:46 +08:00
eea7cd3fc5
Instead of relying on magic memory barriers, document the pattern that is being used. It is the one based on Dekker's algorithm, and in this case it is embodied as follows: enqueue request; sleeping = true; smp_mb(); smp_mb(); if (sleeping) kick(); if (!have a request) yield(); Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
fds.c | ||
hmp-cmds-target.c | ||
hmp-cmds.c | ||
hmp-target.c | ||
hmp.c | ||
meson.build | ||
monitor-internal.h | ||
monitor.c | ||
qmp-cmds-control.c | ||
qmp-cmds.c | ||
qmp.c | ||
trace-events | ||
trace.h |