summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-05 10:12:07 +0100
committerSam James <sam@gentoo.org>2023-05-05 10:12:39 +0100
commitc8bd171caf443ff514a1fc6d50d239e0747b6dcc (patch)
tree3d59daa6478009733a0fd627d9a162cef87553e2
parent4571fb8fe64644c79d91a8f76c148a05b7088ea8 (diff)
downloadglibc-c8bd171caf443ff514a1fc6d50d239e0747b6dcc.tar.gz
hppa: Fix 'concurrency' typo in comment
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sysdeps/hppa/nptl/pthread_spin_init.c2
-rw-r--r--sysdeps/hppa/nptl/pthread_spin_unlock.c2
2 files changed, 2 insertions, 2 deletions
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.