mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user