]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__pthread_initial_thread, pthread_manager_thread):
authorUlrich Drepper <drepper@redhat.com>
Wed, 12 Jan 2000 11:57:33 +0000 (11:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 12 Jan 2000 11:57:33 +0000 (11:57 +0000)
Add initializers for new fields.

linuxthreads/pthread.c

index 1db764b6fb30dc90c3749b44d4d6522757d10092..0dfdf693b80b0c9ea79351620af5a20119340736 100644 (file)
@@ -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) */