diff options
author | Roland McGrath <roland@gnu.org> | 2004-06-11 20:12:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-06-11 20:12:55 +0000 |
commit | a9e526e7d2fc77ee4b77de7e35a6d6a41c450fb2 (patch) | |
tree | 6dc248ed8af0c5df7ce65e837a95c687717d123c /nptl | |
parent | f1847a84656ed3f8432d1c6d7c804e07b7caa84b (diff) | |
download | glibc-a9e526e7d2fc77ee4b77de7e35a6d6a41c450fb2.tar.gz glibc-a9e526e7d2fc77ee4b77de7e35a6d6a41c450fb2.tar.xz glibc-a9e526e7d2fc77ee4b77de7e35a6d6a41c450fb2.zip |
* sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
(unwind_backtrace, unwind_getip): Define #ifndef SHARED. (__backtrace): Don't call init #ifndef SHARED. * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED. (unwind_backtrace, unwind_getip): Define #ifndef SHARED. (__backtrace): Don't call init #ifndef SHARED. * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED. (unwind_backtrace, unwind_getip): Define #ifndef SHARED. (__backtrace): Don't call init #ifndef SHARED.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 10 | ||||
-rw-r--r-- | nptl/pthread_mutexattr_getpshared.c | 2 | ||||
-rw-r--r-- | nptl/pthread_mutexattr_gettype.c | 2 | ||||
-rw-r--r-- | nptl/pthread_mutexattr_init.c | 2 | ||||
-rw-r--r-- | nptl/pthread_mutexattr_setpshared.c | 2 | ||||
-rw-r--r-- | nptl/pthread_mutexattr_settype.c | 2 |
6 files changed, 15 insertions, 5 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 01de11fa82..d86f449623 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,13 @@ +2004-06-08 Jakub Jelinek <jakub@redhat.com> + + * pthread_mutexattr_getpshared.c (pthread_mutex_getpshared): Fix + comment typo. + * pthread_mutexattr_gettype.c (pthread_mutexattr_gettype): Likewise. + * pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise. + * pthread_mutexattr_settype.c (__pthread_mutexattr_settype): Likewise. + * pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared): + Likewise. Reported by Bob Cook <bobcook47@hotmail.com>. + 2004-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/lowlevellock.h (lll_compare_and_swap): diff --git a/nptl/pthread_mutexattr_getpshared.c b/nptl/pthread_mutexattr_getpshared.c index 1769463d63..4bd4ea18db 100644 --- a/nptl/pthread_mutexattr_getpshared.c +++ b/nptl/pthread_mutexattr_getpshared.c @@ -29,7 +29,7 @@ pthread_mutexattr_getpshared (attr, pshared) iattr = (const struct pthread_mutexattr *) attr; - /* We use bit 31 to single whether the mutex is going to be + /* We use bit 31 to signal whether the mutex is going to be process-shared or not. */ *pshared = ((iattr->mutexkind & 0x80000000) != 0 ? PTHREAD_PROCESS_SHARED : PTHREAD_PROCESS_PRIVATE); diff --git a/nptl/pthread_mutexattr_gettype.c b/nptl/pthread_mutexattr_gettype.c index 82a938db6a..5c32b2c6f1 100644 --- a/nptl/pthread_mutexattr_gettype.c +++ b/nptl/pthread_mutexattr_gettype.c @@ -29,7 +29,7 @@ pthread_mutexattr_gettype (attr, kind) iattr = (const struct pthread_mutexattr *) attr; - /* We use bit 31 to single whether the mutex is going to be + /* We use bit 31 to signal whether the mutex is going to be process-shared or not. */ *kind = iattr->mutexkind & ~0x80000000; diff --git a/nptl/pthread_mutexattr_init.c b/nptl/pthread_mutexattr_init.c index 3270d5346e..ee026c654e 100644 --- a/nptl/pthread_mutexattr_init.c +++ b/nptl/pthread_mutexattr_init.c @@ -28,7 +28,7 @@ __pthread_mutexattr_init (attr) if (sizeof (struct pthread_mutexattr) != sizeof (pthread_mutexattr_t)) memset (attr, '\0', sizeof (*attr)); - /* We use bit 31 to single whether the mutex is going to be + /* We use bit 31 to signal whether the mutex is going to be process-shared or not. By default it is zero, i.e., the mutex is not process-shared. */ ((struct pthread_mutexattr *) attr)->mutexkind = PTHREAD_MUTEX_NORMAL; diff --git a/nptl/pthread_mutexattr_setpshared.c b/nptl/pthread_mutexattr_setpshared.c index 9bc5c26700..5f2cf417e3 100644 --- a/nptl/pthread_mutexattr_setpshared.c +++ b/nptl/pthread_mutexattr_setpshared.c @@ -34,7 +34,7 @@ pthread_mutexattr_setpshared (attr, pshared) iattr = (struct pthread_mutexattr *) attr; - /* We use bit 31 to single whether the mutex is going to be + /* We use bit 31 to signal whether the mutex is going to be process-shared or not. */ if (pshared == PTHREAD_PROCESS_PRIVATE) iattr->mutexkind &= ~0x80000000; diff --git a/nptl/pthread_mutexattr_settype.c b/nptl/pthread_mutexattr_settype.c index 54021b37c6..c77fe79df5 100644 --- a/nptl/pthread_mutexattr_settype.c +++ b/nptl/pthread_mutexattr_settype.c @@ -33,7 +33,7 @@ __pthread_mutexattr_settype (attr, kind) iattr = (struct pthread_mutexattr *) attr; - /* We use bit 31 to single whether the mutex is going to be + /* We use bit 31 to signal whether the mutex is going to be process-shared or not. */ iattr->mutexkind = (iattr->mutexkind & 0x80000000) | kind; |