aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/pthread.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-15 00:38:31 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-15 00:38:31 +0000
commitf6367df2fd032db89e68e28333d995fb18ffa653 (patch)
tree3b4bca3c94d629071e220c0f1a1b194c7dc8c3b6 /linuxthreads/pthread.c
parent3e1e749e27765b2513b32d9cb1cd058830e6b2c8 (diff)
downloadglibc-f6367df2fd032db89e68e28333d995fb18ffa653.tar
glibc-f6367df2fd032db89e68e28333d995fb18ffa653.tar.gz
glibc-f6367df2fd032db89e68e28333d995fb18ffa653.tar.bz2
glibc-f6367df2fd032db89e68e28333d995fb18ffa653.zip
Update.
1999-10-14 Ulrich Drepper <drepper@cygnus.com> * manager.c (pthread_handle_create): Remove p_startfct initialization. * internals.h (_pthread_descr_struct): We don't need p_startfct field.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r--linuxthreads/pthread.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index aea6db12ab..2741b211b6 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -61,7 +61,8 @@ struct _pthread_descr_struct __pthread_initial_thread = {
0, /* int p_h_errno */
NULL, /* char * p_in_sighandler */
0, /* char p_sigwaiting */
- PTHREAD_START_ARGS_INITIALIZER, /* struct pthread_start_args p_start_args */
+ PTHREAD_START_ARGS_INITIALIZER(NULL),
+ /* struct pthread_start_args p_start_args */
{NULL}, /* void ** p_specific[PTHREAD_KEY_1STLEVEL_SIZE] */
{NULL}, /* void * p_libc_specific[_LIBC_TSD_KEY_N] */
0, /* int p_userstack */
@@ -103,7 +104,8 @@ struct _pthread_descr_struct __pthread_manager_thread = {
0, /* int p_h_errno */
NULL, /* char * p_in_sighandler */
0, /* char p_sigwaiting */
- PTHREAD_START_ARGS_INITIALIZER, /* struct pthread_start_args p_start_args */
+ PTHREAD_START_ARGS_INITIALIZER(__pthread_manager),
+ /* struct pthread_start_args p_start_args */
{NULL}, /* void ** p_specific[PTHREAD_KEY_1STLEVEL_SIZE] */
{NULL}, /* void * p_libc_specific[_LIBC_TSD_KEY_N] */
0, /* int p_userstack */