mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 22:50:07 +00:00
(__pthread_initial_thread, pthread_manager_thread):
Add initializers for new fields.
This commit is contained in:
parent
cecbddd661
commit
a97d2d557d
@ -70,7 +70,10 @@ struct _pthread_descr_struct __pthread_initial_thread = {
|
||||
{{{0, }}, 0, NULL}, /* td_eventbuf_t p_eventbuf */
|
||||
ATOMIC_INITIALIZER, /* struct pthread_atomic p_resume_count */
|
||||
0, /* char p_woken_by_cancel */
|
||||
NULL /* struct pthread_extricate_if *p_extricate */
|
||||
NULL, /* struct pthread_extricate_if *p_extricate */
|
||||
NULL, /* pthread_readlock_info *p_readlock_list; */
|
||||
NULL, /* pthread_readlock_info *p_readlock_free; */
|
||||
0 /* int p_untracked_readlock_count; */
|
||||
};
|
||||
|
||||
/* Descriptor of the manager thread; none of this is used but the error
|
||||
@ -117,7 +120,10 @@ struct _pthread_descr_struct __pthread_manager_thread = {
|
||||
{{{0, }}, 0, NULL}, /* td_eventbuf_t p_eventbuf */
|
||||
ATOMIC_INITIALIZER, /* struct pthread_atomic p_resume_count */
|
||||
0, /* char p_woken_by_cancel */
|
||||
NULL /* struct pthread_extricate_if *p_extricate */
|
||||
NULL, /* struct pthread_extricate_if *p_extricate */
|
||||
NULL, /* pthread_readlock_info *p_readlock_list; */
|
||||
NULL, /* pthread_readlock_info *p_readlock_free; */
|
||||
0 /* int p_untracked_readlock_count; */
|
||||
};
|
||||
|
||||
/* Pointer to the main thread (the father of the thread manager thread) */
|
||||
|
Loading…
Reference in New Issue
Block a user