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/pthread_create.c | |
parent | c6247c9d7daab9faa51ae571d4b12a337e9b15ff (diff) | |
download | glibc-90491dc4bf7a2c4232565ea68c9bda1383f97ae6.zip glibc-90491dc4bf7a2c4232565ea68c9bda1383f97ae6.tar.gz glibc-90491dc4bf7a2c4232565ea68c9bda1383f97ae6.tar.bz2 |
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/pthread_create.c')
-rw-r--r-- | nptl/pthread_create.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index c96a281..6a59090 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -65,6 +65,7 @@ hidden_def (__pthread_keys) const int __pthread_pthread_sizeof_descr = sizeof (struct pthread); struct pthread * +internal_function __find_in_stack_list (pd) struct pthread *pd; { @@ -175,6 +176,7 @@ deallocate_tsd (struct pthread *pd) /* Deallocate a thread's stack after optionally making sure the thread descriptor is still valid. */ void +internal_function __free_tcb (struct pthread *pd) { /* The thread is exiting now. */ |