|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 19/22] tcg: introduce tcg_context_clone |
Date: | Wed, 12 Jul 2017 07:25:14 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/12/2017 06:02 AM, Alex Bennée wrote:
Why a copy approach as opposed to a plain tcg_context_new() with the appropriate init cleanup.
We need the globals that were set up by the target/foo/translate.c code to be the same for each thread. That's what makes it easier to copy the struct.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |