diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-10-18 08:44:14 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-10-19 11:10:59 +0300 |
commit | db7e0a5d2f8722f81557fb927001fd543daff5d1 (patch) | |
tree | 313bdc1e90dcc645243e56b75b323f27ba9dfa96 /pthread_support.c | |
parent | 96be49adeb05f935382ebf64e6342ca26922d3f0 (diff) | |
download | bdwgc-db7e0a5d2f8722f81557fb927001fd543daff5d1.tar.gz |
Adjust comments referring glibc version
(documentation)
* include/private/gcconfig.h [X86_64 && LINUX && __GLIBC__
&& !__UCLIBC__ && !GETCONTEXT_FPU_BUG_FIXED]: Lower case "glibc" word
in comment.
* os_dep.c [LINUX_STACKBOTTOM && IA64 && USE_LIBC_PRIVATES]
(GC_get_register_stack_base): Likewise.
* include/private/gcconfig.h [X86_64 && LINUX && __GLIBC__
&& !__UCLIBC__ && !GETCONTEXT_FPU_BUG_FIXED]: Remove "v" belonging to
glibc version in comment.
* os_dep.c [LINUX_STACKBOTTOM && IA64] (GC_linux_main_stack_base): Add
a trailing dot after glibc version in comment.
* pthread_support.c [GLIBC_2_1_MUTEX_HACK] (mark_mutex): Add a space
before glibc version in comment.
Diffstat (limited to 'pthread_support.c')
-rw-r--r-- | pthread_support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_support.c b/pthread_support.c index 04615ce2..22065853 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -418,9 +418,9 @@ STATIC void * GC_mark_thread(void * id) #ifdef GLIBC_2_1_MUTEX_HACK /* Ugly workaround for a linux threads bug in the final versions */ - /* of glibc2.1. Pthread_mutex_trylock sets the mutex owner */ + /* of glibc 2.1. Pthread_mutex_trylock sets the mutex owner */ /* field even when it fails to acquire the mutex. This causes */ - /* pthread_cond_wait to die. Remove for glibc2.2. */ + /* pthread_cond_wait to die. Should not be needed for glibc 2.2. */ /* According to the man page, we should use */ /* PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, but that isn't actually */ /* defined. */ |