summary refs log tree commit diff stats
path: root/bsd-user/qemu.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-08-07 14:22:34 -0600
committerWarner Losh <imp@bsdimp.com>2021-09-10 14:13:06 -0600
commit63cca1067ac70df2d71c0064f7bf53e19334223c (patch)
tree4d02d6d0e6fbbec861ce27212c7d73f9bbfbd94f /bsd-user/qemu.h
parentf0f7f9dca986bebf2a0b88dd83f84f5e39a61462 (diff)
downloadfocaccia-qemu-63cca1067ac70df2d71c0064f7bf53e19334223c.tar.gz
focaccia-qemu-63cca1067ac70df2d71c0064f7bf53e19334223c.zip
bsd-user: Implement interlock for atomic operations
Implement the internlock in fork_start() and fork_end() to properly cope
with atomic operations and to safely keep state for parent and child
processes.

Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/qemu.h')
0 files changed, 0 insertions, 0 deletions