]> Git Repo - qemu.git/commit
migration: protect the quit flag by lock
authorLiang Li <[email protected]>
Thu, 5 May 2016 07:32:56 +0000 (15:32 +0800)
committerAmit Shah <[email protected]>
Fri, 17 Jun 2016 12:54:23 +0000 (18:24 +0530)
commit90e56fb46d0a7add88ed463efa4e723a6238f692
tree2847f4f935b826e35b446c5523dedfb25895d2b8
parentfc50438ed0b7106542048d70686ee4b1c340ea49
migration: protect the quit flag by lock

quit_comp_thread and quit_decomp_thread are accessed by several
thread, it's better to protect them with locks. We use a per
thread flag to replace the global one, and the new flag is protected
by a lock.

Signed-off-by: Liang Li <[email protected]>
Message-Id: <1462433579[email protected]>
Signed-off-by: Amit Shah <[email protected]>
migration/ram.c
This page took 0.02364 seconds and 4 git commands to generate.