mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-05 16:50:46 +08:00
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.
This commit is contained in:
@@ -72,7 +72,7 @@ struct pthread_key_struct {
|
||||
};
|
||||
|
||||
|
||||
#define PTHREAD_START_ARGS_INITIALIZER { NULL, NULL, {{0, }}, 0, { 0 } }
|
||||
#define PTHREAD_START_ARGS_INITIALIZER(fct) { fct, NULL, {{0, }}, 0, { 0 } }
|
||||
|
||||
/* The type of thread descriptors */
|
||||
|
||||
@@ -114,7 +114,6 @@ struct _pthread_descr_struct {
|
||||
size_t p_guardsize; /* size of guard area */
|
||||
pthread_descr p_self; /* Pointer to this structure */
|
||||
int p_nr; /* Index of descriptor in __pthread_handles */
|
||||
void *(*p_startfct) (void *); /* The startup function of this thread. */
|
||||
} __attribute__ ((aligned(32))); /* We need to align the structure so that
|
||||
doubles are aligned properly. This is 8
|
||||
bytes on MIPS and 16 bytes on MIPS64.
|
||||
|
||||
Reference in New Issue
Block a user