diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-06-11 21:57:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-06-11 21:57:23 +0000 |
commit | dd9423a67a7650a9b0f50d8151e4f3797c5a14f8 (patch) | |
tree | 2b796d5a03925d5782c12a7844c54f631f7d789c /nptl | |
parent | c98d505c4dd96f7a58a3434fadbe4f6c30c29b08 (diff) | |
download | glibc-dd9423a67a7650a9b0f50d8151e4f3797c5a14f8.zip glibc-dd9423a67a7650a9b0f50d8151e4f3797c5a14f8.tar.gz glibc-dd9423a67a7650a9b0f50d8151e4f3797c5a14f8.tar.bz2 |
Update.
2003-06-11 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (queue_stack): Always inline.
* ptreadhP.h (__do_cancel): Likewise.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/allocatestack.c | 1 | ||||
-rw-r--r-- | nptl/pthreadP.h | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index c7af57c..feeae3b 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2003-06-11 Ulrich Drepper <drepper@redhat.com> + + * allocatestack.c (queue_stack): Always inline. + * ptreadhP.h (__do_cancel): Likewise. + 2003-06-10 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/sem_timedwait.c (sem_timedwait): Fix diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c index 9653b62..bfa5ea1 100644 --- a/nptl/allocatestack.c +++ b/nptl/allocatestack.c @@ -202,6 +202,7 @@ get_cached_stack (size_t *sizep, void **memp) /* Add a stack frame which is not used anymore to the stack. Must be called with the cache lock held. */ static inline void +__attribute ((always_inline)) queue_stack (struct pthread *stack) { /* We unconditionally add the stack to the list. The memory may diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index fe982af..a979f07 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -116,7 +116,7 @@ extern void __pthread_unwind (__pthread_unwind_buf_t *__buf) /* Called when a thread reacts on a cancellation request. */ static inline void -__attribute ((noreturn)) +__attribute ((noreturn, always_inline)) __do_cancel (void) { struct pthread *self = THREAD_SELF; |