qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH] target-arm: protect cpu_exclusive_*.


From: Peter Maydell
Subject: Re: [Qemu-devel] [RFC PATCH] target-arm: protect cpu_exclusive_*.
Date: Wed, 17 Dec 2014 16:27:03 +0000

On 17 December 2014 at 16:17, Mark Burton <address@hidden> wrote:
> Sorry - I should have replied to this Peter
> I agree with you - I dont know how much overlap we’ll find with different 
> architectures.
> But if we stick to the more generic ‘lock/unlock’, I dont see how this is 
> going to help us output thread safe code without going thought a mutex - at 
> which point we are back to square 1.

I think a mutex is fine, personally -- I just don't want
to see fifteen hand-hacked mutexes in the target-* code.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]