From c8bd171caf443ff514a1fc6d50d239e0747b6dcc Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 5 May 2023 10:12:07 +0100 Subject: hppa: Fix 'concurrency' typo in comment Signed-off-by: Sam James --- sysdeps/hppa/nptl/pthread_spin_init.c | 2 +- sysdeps/hppa/nptl/pthread_spin_unlock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/hppa/nptl/pthread_spin_init.c b/sysdeps/hppa/nptl/pthread_spin_init.c index dcb5b829a0..c44c775fbb 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 8a85385657..3378c9ba5f 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. -- cgit 1.4.1