]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 15 Oct 1999 00:40:18 +0000 (00:40 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 15 Oct 1999 00:40:18 +0000 (00:40 +0000)
* pthread.c (__pthread_initial_thread): Pass argument to
PTHREAD_START_ARGS_INITIALIZER.
(__pthread_manager_thread): Likewise.

* internals.h (PTHREAD_START_ARGS_INITIALIZER): Add parameter to
initialize function.

linuxthreads/ChangeLog
linuxthreads_db/ChangeLog
linuxthreads_db/td_ta_new.c

index 6d8d18bef468c7c9481f92232fd36c8b90f11799..faa2ec9420ebaab9e5ccb820091070571cb4ed5b 100644 (file)
@@ -1,5 +1,12 @@
 1999-10-14  Ulrich Drepper  <drepper@cygnus.com>
 
+       * pthread.c (__pthread_initial_thread): Pass argument to
+       PTHREAD_START_ARGS_INITIALIZER.
+       (__pthread_manager_thread): Likewise.
+
+       * internals.h (PTHREAD_START_ARGS_INITIALIZER): Add parameter to
+       initialize function.
+
        * manager.c (pthread_handle_create): Remove p_startfct initialization.
 
        * internals.h (_pthread_descr_struct): We don't need p_startfct field.
index c7836d3abd4155523488fca9f9743154df3b606a..6c11d9244231f5c290aaf68c3adc2273d81bfd31 100644 (file)
@@ -1,5 +1,7 @@
 1999-10-14  Ulrich Drepper  <drepper@cygnus.com>
 
+       * td_ta_new.c: p_startfct does not exist anymore.
+
        * td_thr_get_info.c: Always initialize start function.
 
        * td_ta_thr_iter.c: Don't return threads which exited (but are not
index 15f445a877d45daef825bc5b63ecb6aaec996f00..37d6bb1d3023a0b65112c9d4e3ae464174581718 100644 (file)
@@ -94,7 +94,7 @@ td_ta_new (struct ps_prochandle *ps, td_thragent_t **ta)
   if (ps_pglobal_lookup (ps, LIBPTHREAD_SO,
                         "__linuxthreads_pthread_sizeof_descr", &addr)
       != PS_OK)
-    (*ta)->sizeof_descr = offsetof (struct _pthread_descr_struct, p_startfct);
+    (*ta)->sizeof_descr = sizeof (struct _pthread_descr_struct);
   else
     {
       if (ps_pdread (ps, addr, &(*ta)->sizeof_descr, sizeof (int)) != PS_OK)