linux-user: lock tcg
authorAlexander Graf <agraf@suse.de>
Thu, 5 Jul 2012 15:31:39 +0000 (17:31 +0200)
committerChanho Park <parkch98@gmail.com>
Tue, 9 Sep 2014 02:32:50 +0000 (11:32 +0900)
commitc1d9a4ff3f85b10416ccd48fbf729cd75938bd4d
treee4e296d6e137979a639dca5284c2681751d9be21
parentb0d274e046ca3fc26c3d2342438184b7494b707e
linux-user: lock tcg

The tcg code generator is not thread safe. Lock its generation between
different threads.

Signed-off-by: Alexander Graf <agraf@suse.de>
[AF: Rebased onto exec.c/translate-all.c split for 1.4]
[AF: Rebased for v2.1.0-rc0]
Signed-off-by: Andreas Färber <afaerber@suse.de>
linux-user/mmap.c
tcg/tcg.c
tcg/tcg.h