commit | 90e56fb46d0a7add88ed463efa4e723a6238f692 | [log] [tgz] |
---|---|---|
author | Liang Li <liang.z.li@intel.com> | Thu May 05 15:32:56 2016 +0800 |
committer | Amit Shah <amit.shah@redhat.com> | Fri Jun 17 18:24:23 2016 +0530 |
tree | 2847f4f935b826e35b446c5523dedfb25895d2b8 | |
parent | fc50438ed0b7106542048d70686ee4b1c340ea49 [diff] |
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 <liang.z.li@intel.com> Message-Id: <1462433579-13691-7-git-send-email-liang.z.li@intel.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>