|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations |
Date: | Thu, 13 Sep 2012 10:29:58 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
Il 13/09/2012 10:23, Avi Kivity ha scritto: >> > But I don't really see the point in wrapping atomically-accessed >> > variables in a struct. > Preventing accidental naked access (to be reported in patch review as > "wardrobe malfunction"). Yeah, I understand that, but it's rare enough that I don't think it's worth the complication. With C++ and templates it would be a different story. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |