mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-30 17:49:00 +00:00
This should make things more portable. On my machine, __sync_synchronize() uses mfence rather than lock; addl; Looking at the kernel memory barriers, this should be fine: http://lxr.free-electrons.com/source/arch/x86/um/asm/barrier.h The kernel favours using mfence, but falls back to lock; addl; when it's not available (32 bit non-SSE machines). https://bugs.freedesktop.org/show_bug.cgi?id=86997 |
||
|---|---|---|
| .. | ||
| barrier.h | ||
| controller_prot.h | ||
| end-packed.h | ||
| enums.h | ||
| error_codes.h | ||
| foreign_menu_prot.h | ||
| ipc_ring.h | ||
| macros.h | ||
| Makefile.am | ||
| protocol.h | ||
| qxl_dev.h | ||
| qxl_windows.h | ||
| start-packed.h | ||
| stats.h | ||
| types.h | ||
| vd_agent.h | ||
| vdi_dev.h | ||