On 13.05.2013 17:26, Merlin Moncure wrote:
I'm starting to wonder why we don't always use gcc atomics if they are available and assembly implementation is not (any maybe, even if it is).
That was discussed a while ago, but there were a lot of claims that __sync_lock_test_and_set is broken on many various platforms: http://www.postgresql.org/message-id/flat/5642.1324482...@sss.pgh.pa.us#5642.1324482...@sss.pgh.pa.us. The situation might've improved since, but I guess we should proceed cautiously.
- Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers