diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-15 09:49:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-15 09:49:02 +0000 |
commit | 90491dc4bf7a2c4232565ea68c9bda1383f97ae6 (patch) | |
tree | d00ccc5fc77334ca06edeaa13afc6a3ad083f047 /nptl/pthreadP.h | |
parent | c6247c9d7daab9faa51ae571d4b12a337e9b15ff (diff) | |
download | glibc-90491dc4bf7a2c4232565ea68c9bda1383f97ae6.tar.gz |
Update.
* pthreadP.h: Mark declarations of __find_in_stack_list, __free_tcb,
and __deallocate_stack with internal_function.
* pthread_create.c: Adjust definitions appropriately.
* allocatestack.c: Likewise.
* pthread_join.c: Add one more __builtin_expect.
* pthread_timedjoin.c: Likewise.
* pthread_getspecific.c (__pthread_getspecific): Clear data->data
not data of sequence number does not match.
Add one __builtin_expect.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 784f62416f..2b65192f68 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -154,14 +154,15 @@ __do_cancel (void) /* Thread list handling. */ extern struct pthread *__find_in_stack_list (struct pthread *pd) - attribute_hidden; + attribute_hidden internal_function; /* Deallocate a thread's stack after optionally making sure the thread descriptor is still valid. */ -extern void __free_tcb (struct pthread *pd) attribute_hidden; +extern void __free_tcb (struct pthread *pd) attribute_hidden internal_function; /* Free allocated stack. */ -extern void __deallocate_stack (struct pthread *pd) attribute_hidden; +extern void __deallocate_stack (struct pthread *pd) + attribute_hidden internal_function; /* Mark all the stacks except for the current one as available. This function also re-initializes the lock for the stack cache. */ |