aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
commit65cc53fe7c6556b90159b8c3da1eb283792387db (patch)
tree879c71521e54f86942bf3ba2a39f9b4bc2dfb915 /sysdeps/htl
parent4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (diff)
downloadglibc-65cc53fe7c6556b90159b8c3da1eb283792387db.zip
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.gz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.bz2
Fix misspellings in sysdeps/ -- BZ 25337
Diffstat (limited to 'sysdeps/htl')
-rw-r--r--sysdeps/htl/bits/cancelation.h2
-rw-r--r--sysdeps/htl/pt-cond-timedwait.c2
-rw-r--r--sysdeps/htl/pt-key.h2
-rw-r--r--sysdeps/htl/pt-rwlock-timedrdlock.c2
-rw-r--r--sysdeps/htl/pt-rwlock-timedwrlock.c2
-rw-r--r--sysdeps/htl/pt-rwlock-unlock.c2
-rw-r--r--sysdeps/htl/pthread.h12
-rw-r--r--sysdeps/htl/timer_routines.c2
8 files changed, 13 insertions, 13 deletions
diff --git a/sysdeps/htl/bits/cancelation.h b/sysdeps/htl/bits/cancelation.h
index 5fbc308..9e0309a 100644
--- a/sysdeps/htl/bits/cancelation.h
+++ b/sysdeps/htl/bits/cancelation.h
@@ -1,4 +1,4 @@
-/* Cancelation. Generic version.
+/* Cancellation. Generic version.
Copyright (C) 2002-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
diff --git a/sysdeps/htl/pt-cond-timedwait.c b/sysdeps/htl/pt-cond-timedwait.c
index 9cea259..c537350 100644
--- a/sysdeps/htl/pt-cond-timedwait.c
+++ b/sysdeps/htl/pt-cond-timedwait.c
@@ -177,7 +177,7 @@ __pthread_cond_timedwait_internal (pthread_cond_t *cond,
}
else
{
- /* We're still in the list of waiters. Noone attempted to wake us up,
+ /* We're still in the list of waiters. No one attempted to wake us up,
i.e. we timed out. */
assert (err == ETIMEDOUT);
__pthread_dequeue (self);
diff --git a/sysdeps/htl/pt-key.h b/sysdeps/htl/pt-key.h
index df3601e..262006d 100644
--- a/sysdeps/htl/pt-key.h
+++ b/sysdeps/htl/pt-key.h
@@ -1,4 +1,4 @@
-/* pthread_key internal declatations for the Hurd version.
+/* pthread_key internal declarations for the Hurd version.
Copyright (C) 2002-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
diff --git a/sysdeps/htl/pt-rwlock-timedrdlock.c b/sysdeps/htl/pt-rwlock-timedrdlock.c
index 882b195..6041ce9 100644
--- a/sysdeps/htl/pt-rwlock-timedrdlock.c
+++ b/sysdeps/htl/pt-rwlock-timedrdlock.c
@@ -92,7 +92,7 @@ __pthread_rwlock_timedrdlock_internal (struct __pthread_rwlock *rwlock,
drain = err ? 1 : 0;
else
{
- /* We're still in the queue. Noone attempted to wake us up, i.e. we
+ /* We're still in the queue. No one attempted to wake us up, i.e. we
timed out. */
__pthread_dequeue (self);
drain = 0;
diff --git a/sysdeps/htl/pt-rwlock-timedwrlock.c b/sysdeps/htl/pt-rwlock-timedwrlock.c
index a2c969f..6eb66aa 100644
--- a/sysdeps/htl/pt-rwlock-timedwrlock.c
+++ b/sysdeps/htl/pt-rwlock-timedwrlock.c
@@ -78,7 +78,7 @@ __pthread_rwlock_timedwrlock_internal (struct __pthread_rwlock *rwlock,
drain = err ? 1 : 0;
else
{
- /* We're still in the queue. Noone attempted to wake us up, i.e. we
+ /* We're still in the queue. No one attempted to wake us up, i.e. we
timed out. */
__pthread_dequeue (self);
drain = 0;
diff --git a/sysdeps/htl/pt-rwlock-unlock.c b/sysdeps/htl/pt-rwlock-unlock.c
index 5564c27..7b5465d 100644
--- a/sysdeps/htl/pt-rwlock-unlock.c
+++ b/sysdeps/htl/pt-rwlock-unlock.c
@@ -89,7 +89,7 @@ __pthread_rwlock_unlock (pthread_rwlock_t *rwlock)
}
- /* Noone is waiting. Just unlock it. */
+ /* No one is waiting. Just unlock it. */
__pthread_spin_unlock (&rwlock->__held);
__pthread_spin_unlock (&rwlock->__lock);
diff --git a/sysdeps/htl/pthread.h b/sysdeps/htl/pthread.h
index 6de08f1..cc9e7bf 100644
--- a/sysdeps/htl/pthread.h
+++ b/sysdeps/htl/pthread.h
@@ -623,7 +623,7 @@ extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *__restrict
int *__restrict __pshared)
__THROW __nonnull ((1, 2));
-/* Set the value of the process shared atrribute in *ATTR to
+/* Set the value of the process shared attribute in *ATTR to
PSHARED. */
extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
int __pshared)
@@ -645,7 +645,7 @@ extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
# include <bits/types/struct___pthread_rwlock.h>
# define PTHREAD_RWLOCK_INITIALIZER __PTHREAD_RWLOCK_INITIALIZER
-/* Create a rwlock object with attributes given by ATTR and strore the
+/* Create a rwlock object with attributes given by ATTR and store the
result in *RWLOCK. */
extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
const pthread_rwlockattr_t *__restrict __attr)
@@ -709,7 +709,7 @@ extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
-/* Cancelation. */
+/* Cancellation. */
/* Register a cleanup handler. */
extern void pthread_cleanup_push (void (*__routine) (void *), void *__arg);
@@ -769,7 +769,7 @@ extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t *__restri
int *__restrict __pshared)
__THROW __nonnull ((1, 2));
-/* Set the value of the process shared atrribute in *ATTR to
+/* Set the value of the process shared attribute in *ATTR to
PSHARED. */
extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
int __pshared)
@@ -878,12 +878,12 @@ extern int pthread_getcpuclockid (pthread_t __thr, __clockid_t *__clock)
/* Scheduling. */
-/* Return thread THREAD's scheduling paramters. */
+/* Return thread THREAD's scheduling parameters. */
extern int pthread_getschedparam (pthread_t __thr, int *__restrict __policy,
struct sched_param *__restrict __param)
__THROW __nonnull ((2, 3));
-/* Set thread THREAD's scheduling paramters. */
+/* Set thread THREAD's scheduling parameters. */
extern int pthread_setschedparam (pthread_t __thr, int __policy,
const struct sched_param *__param)
__THROW __nonnull ((3));
diff --git a/sysdeps/htl/timer_routines.c b/sysdeps/htl/timer_routines.c
index bfd4eab..bae0708 100644
--- a/sysdeps/htl/timer_routines.c
+++ b/sysdeps/htl/timer_routines.c
@@ -46,7 +46,7 @@ struct timer_node __timer_array[TIMER_MAX];
/* Global lock to protect operation on the lists. */
pthread_mutex_t __timer_mutex = PTHREAD_MUTEX_INITIALIZER;
-/* Variable to protext initialization. */
+/* Variable to protect initialization. */
pthread_once_t __timer_init_once_control = PTHREAD_ONCE_INIT;
/* Nonzero if initialization of timer implementation failed. */