Heikki Linnakangas [2011-12-19 17:09 +0200]: > One thing that caught my eye: if you use __sync_lock_and_test() to > implement S_LOCK(), you really should be using __sync_lock_release() > for S_UNLOCK().
Right, the patch I send does that: #define S_UNLOCK(lock) __sync_lock_release(lock) Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs