On Thu, Jan 5, 2012 at 9:01 AM, Florian Weimer <fweimer@bfk.de> wrote:
> * Robert Haas:
>> and (c) architectures (like 32-bit x86) where ordinary 64-bit
>> operations aren't atomic but special instructions (cmpxchg8b) can be
>> used to get that behavior.
>
> FILD and FIST are atomic, too, and are supported by more
> micro-architectures.
Yeah, I think you (or someone) mentioned the code. If someone wants
to write the code, I'm game...
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company