Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* 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.
  • Loading branch information
Ulrich Drepper committed Oct 15, 1999
1 parent f6367df commit 4a37921
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions linuxthreads/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 2 additions & 0 deletions linuxthreads_db/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion linuxthreads_db/td_ta_new.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4a37921

Please sign in to comment.