On 04/08/2016 06:02 AM, Alex Bennée wrote: >> > +typedef struct QemuSpin { >> > + int value; > If we are throwing true and false around as the only two values can we > use bool here and be consistent when setting/clearing. >
Except that quite a lot of hosts can only (efficiently) do atomic operations on a minimum of 4 byte quantities. I'd rather continue to use int here. r~