about summary refs log tree commit diff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-08 07:03:03 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-08 07:03:03 +0000
commit9640bbe1c1fab7e1373e59160889b1fbc0bd000c (patch)
tree287038440c837cce542aba340414a0ce3b677f35 /linuxthreads/internals.h
parent10507e559514de6b31d1b81cbcc3c81b662aef89 (diff)
downloadglibc-9640bbe1c1fab7e1373e59160889b1fbc0bd000c.tar.gz
glibc-9640bbe1c1fab7e1373e59160889b1fbc0bd000c.tar.xz
glibc-9640bbe1c1fab7e1373e59160889b1fbc0bd000c.zip
Update.
1999-10-07  Ulrich Drepper  <drepper@cygnus.com>

	* Implies: New file.
	* internals.h (struct _pthread_descr_struct): Add p_startfct.
	* manager.c (pthread_handle_create): Initialize p_startfct.
	* pthread.c: Define __linuxthread_pthread_sizeof_descr variable.
Diffstat (limited to 'linuxthreads/internals.h')
-rw-r--r--linuxthreads/internals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index 34297fe752..73243d42dc 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -113,6 +113,7 @@ 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.