X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmm%2Fboehm-gc%2Flibatomic_ops-1.2%2Fsrc%2Fatomic_ops.c;h=13076128985c5077be527dc1ea6fb58072170d96;hb=c83bff94e40ee0a218a39931af17814d1a42cb5c;hp=f01b8d2e02840bc571df01bf292c983fb308126b;hpb=8275714acb4ee70328526bd43e7cb54869119f51;p=cacao.git diff --git a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops.c b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops.c index f01b8d2e0..130761289 100644 --- a/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops.c +++ b/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops.c @@ -59,12 +59,12 @@ pthread_mutex_t AO_pt_lock = PTHREAD_MUTEX_INITIALIZER; * Out of line compare-and-swap emulation based on test and set. * * We use a small table of locks for different compare_and_swap locations. - * Before we update perform a compare-and-swap, we grap the corresponding + * Before we update perform a compare-and-swap, we grab the corresponding * lock. Different locations may hash to the same lock, but since we * never acquire more than one lock at a time, this can't deadlock. * We explicitly disable signals while we perform this operation. * - * FIXME: We should probably also suppport emulation based on Lamport + * FIXME: We should probably also support emulation based on Lamport * locks, since we may not have test_and_set either. */ #define AO_HASH_SIZE 16