qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 04/30] add a header file for atomic operations


From: liu ping fan
Subject: Re: [Qemu-devel] [PATCH 04/30] add a header file for atomic operations
Date: Wed, 3 Jul 2013 15:07:28 +0800

On Wed, Jul 3, 2013 at 1:59 PM, Paolo Bonzini <address@hidden> wrote:
> Il 03/07/2013 04:24, liu ping fan ha scritto:
>>> > +- atomic operations in Linux are always on a 32-bit int type and
>> 32-bit?  int should be the integer type that the target processor is
>> most efficient working with.
>
> Has Linux ever been ported to a machine where sizeof(int) != 4?  (Honest
> question.  I don't know).
>
Do not know either:)  But it depends on compiler, as for gcc, it would
be 32-bits.

Regards,
Pingfan
> Paolo



reply via email to

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