From dd9423a67a7650a9b0f50d8151e4f3797c5a14f8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 11 Jun 2003 21:57:23 +0000 Subject: Update. 2003-06-11 Ulrich Drepper * allocatestack.c (queue_stack): Always inline. * ptreadhP.h (__do_cancel): Likewise. --- nptl/ChangeLog | 5 +++++ nptl/allocatestack.c | 1 + nptl/pthreadP.h | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'nptl') 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 + + * allocatestack.c (queue_stack): Always inline. + * ptreadhP.h (__do_cancel): Likewise. + 2003-06-10 Jakub Jelinek * 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; -- cgit v1.1