(FETCH_STORE): New macro.
authorKevin Ryde <user42@zip.com.au>
Tue, 17 Aug 2004 23:13:06 +0000 (23:13 +0000)
committerKevin Ryde <user42@zip.com.au>
Tue, 17 Aug 2004 23:13:06 +0000 (23:13 +0000)
commit95a58b3c32067c7dd1350a0630e62f4b25a1f557
treec46b4fe4fd5ed9337698931bdb9e0a803d85038a
parentbc97364ab72cb3999b7482c3c23fb404bbe1d5a6
(FETCH_STORE): New macro.
(SCM_LOCK_VAL, SCM_UNLOCK_VAL): New constants.
(SCM_LOCK_ARB, SCM_UNLOCK_ARB): Remove, effectively absorbed into
scm_try_arbiter and scm_release_arbiter.
(scm_try_arbiter, scm_release_arbiter): Use FETCH_STORE to get xchg
for speed on i386, otherwise using mutex.
libguile/arbiters.c