From: Sam James Date: Fri, 5 May 2023 09:12:07 +0000 (+0100) Subject: hppa: Fix 'concurrency' typo in comment X-Git-Tag: glibc-2.38~288 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8bd171caf443ff514a1fc6d50d239e0747b6dcc;p=thirdparty%2Fglibc.git hppa: Fix 'concurrency' typo in comment Signed-off-by: Sam James --- diff --git a/sysdeps/hppa/nptl/pthread_spin_init.c b/sysdeps/hppa/nptl/pthread_spin_init.c index dcb5b829a0f..c44c775fbb1 100644 --- a/sysdeps/hppa/nptl/pthread_spin_init.c +++ b/sysdeps/hppa/nptl/pthread_spin_init.c @@ -21,7 +21,7 @@ int __pthread_spin_init (pthread_spinlock_t *lock, int pshared) { - /* CONCURRENCTY NOTES: + /* CONCURRENCY NOTES: The atomic_exchange_release synchronizes-with the atomic_exhange_acq in pthread_spin_lock. diff --git a/sysdeps/hppa/nptl/pthread_spin_unlock.c b/sysdeps/hppa/nptl/pthread_spin_unlock.c index 8a853856575..3378c9ba5f8 100644 --- a/sysdeps/hppa/nptl/pthread_spin_unlock.c +++ b/sysdeps/hppa/nptl/pthread_spin_unlock.c @@ -21,7 +21,7 @@ int __pthread_spin_unlock (pthread_spinlock_t *lock) { - /* CONCURRENCTY NOTES: + /* CONCURRENCY NOTES: The atomic_exchange_release synchronizes-with the atomic_exhange_acq in pthread_spin_lock.