1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Fix clone flag name in comment to CLONE_CHILD_CLEARTID.

This commit is contained in:
Siddhesh Poyarekar
2012-10-02 08:52:55 +05:30
parent 51367701af
commit adcdc775e1
16 changed files with 36 additions and 14 deletions

View File

@ -1,3 +1,14 @@
2012-10-02 Siddhesh Poyarekar <siddhesh@redhat.com>
* pthread_create.c (start_thread): Fix clone flag name in
comment to CLONE_CHILD_CLEARTID.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2012-10-01 Siddhesh Poyarekar <siddhesh@redhat.com> 2012-10-01 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #14477] [BZ #14477]

View File

@ -420,7 +420,7 @@ start_thread (void *arg)
/* We cannot call '_exit' here. '_exit' will terminate the process. /* We cannot call '_exit' here. '_exit' will terminate the process.
The 'exit' implementation in the kernel will signal when the The 'exit' implementation in the kernel will signal when the
process is really dead since 'clone' got passed the CLONE_CLEARTID process is really dead since 'clone' got passed the CLONE_CHILD_CLEARTID
flag. The 'tid' field in the TCB will be set to zero. flag. The 'tid' field in the TCB will be set to zero.
The exit code is zero since in case all threads exit by calling The exit code is zero since in case all threads exit by calling

View File

@ -544,7 +544,7 @@ LLL_STUB_UNWIND_INFO_END
#define lll_islocked(futex) \ #define lll_islocked(futex) \
(futex != LLL_LOCK_INITIALIZER) (futex != LLL_LOCK_INITIALIZER)
/* The kernel notifies a process with uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. afterwards.

View File

@ -288,7 +288,7 @@ extern int __lll_robust_timedlock_wait
1 - taken by one user 1 - taken by one user
>1 - taken by more users */ >1 - taken by more users */
/* The kernel notifies a process which uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -329,7 +329,7 @@ __lll_robust_timedlock (int *futex, const struct timespec *abstime,
#define LLL_LOCK_INITIALIZER (0) #define LLL_LOCK_INITIALIZER (0)
#define LLL_LOCK_INITIALIZER_LOCKED (1) #define LLL_LOCK_INITIALIZER_LOCKED (1)
/* The kernel notifies a process with uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -389,7 +389,7 @@ extern int __lll_unlock_wake (int *__futex, int private) attribute_hidden;
#define lll_islocked(futex) \ #define lll_islocked(futex) \
(futex != LLL_LOCK_INITIALIZER) (futex != LLL_LOCK_INITIALIZER)
/* The kernel notifies a process with uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -268,7 +268,7 @@ __lll_robust_timedlock (int *futex, const struct timespec *abstime,
#define LLL_LOCK_INITIALIZER (0) #define LLL_LOCK_INITIALIZER (0)
#define LLL_LOCK_INITIALIZER_LOCKED (1) #define LLL_LOCK_INITIALIZER_LOCKED (1)
/* The kernel notifies a process with uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -560,7 +560,7 @@ LLL_STUB_UNWIND_INFO_END
(futex != LLL_LOCK_INITIALIZER) (futex != LLL_LOCK_INITIALIZER)
/* The kernel notifies a process with uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. afterwards.

View File

@ -1,3 +1,14 @@
2012-10-02 Siddhesh Poyarekar <siddhesh@redhat.com>
* sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Fix clone
flag name in comment to CLONE_CHILD_CLEARTID.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Likewise.
2012-07-03 Joseph Myers <joseph@codesourcery.com> 2012-07-03 Joseph Myers <joseph@codesourcery.com>
* .gitignore: Remove file. * .gitignore: Remove file.

View File

@ -259,7 +259,7 @@ __lll_robust_timedlock (int *futex, const struct timespec *abstime,
#define LLL_LOCK_INITIALIZER_LOCKED (1) #define LLL_LOCK_INITIALIZER_LOCKED (1)
/* The kernel notifies a process which uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -256,7 +256,7 @@ extern int __lll_robust_timedlock_wait (int *futex, const struct timespec *,
1 - taken by one user 1 - taken by one user
>1 - taken by more users */ >1 - taken by more users */
/* The kernel notifies a process which uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -319,7 +319,7 @@ __lll_robust_timedlock (int *futex, const struct timespec *abstime,
extern int lll_unlock_wake_cb (lll_lock_t *__futex) attribute_hidden; extern int lll_unlock_wake_cb (lll_lock_t *__futex) attribute_hidden;
/* The kernel notifies a process which uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -267,7 +267,7 @@ extern int __lll_robust_timedlock_wait (int *futex, const struct timespec *,
#define LLL_LOCK_INITIALIZER (0) #define LLL_LOCK_INITIALIZER (0)
#define LLL_LOCK_INITIALIZER_LOCKED (1) #define LLL_LOCK_INITIALIZER_LOCKED (1)
/* The kernel notifies a process with uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -254,7 +254,7 @@ extern int __lll_robust_timedlock_wait (int *futex, const struct timespec *,
1 - taken by one user 1 - taken by one user
>1 - taken by more users */ >1 - taken by more users */
/* The kernel notifies a process which uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -268,7 +268,7 @@ __lll_robust_timedlock (int *futex, const struct timespec *abstime,
1 - taken by one user 1 - taken by one user
>1 - taken by more users */ >1 - taken by more users */
/* The kernel notifies a process which uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */

View File

@ -255,7 +255,7 @@ __lll_robust_timedlock (int *futex, const struct timespec *abstime,
#define LLL_LOCK_INITIALIZER_LOCKED (1) #define LLL_LOCK_INITIALIZER_LOCKED (1)
/* The kernel notifies a process which uses CLONE_CLEARTID via futex /* The kernel notifies a process which uses CLONE_CHILD_CLEARTID via futex
wakeup when the clone terminates. The memory location contains the wakeup when the clone terminates. The memory location contains the
thread ID while the clone is running and is reset to zero thread ID while the clone is running and is reset to zero
afterwards. */ afterwards. */