about summary refs log tree commit diff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-15 21:13:12 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-15 21:13:12 +0000
commit3bf927cbce1d0829b587f5f0eee744e907921c58 (patch)
treee57df20024262c73f67b6171a94757f25e9e1abf /linuxthreads/internals.h
parent821a6bb4360ae232140ba230724642fed9db613c (diff)
downloadglibc-3bf927cbce1d0829b587f5f0eee744e907921c58.tar.gz
glibc-3bf927cbce1d0829b587f5f0eee744e907921c58.tar.xz
glibc-3bf927cbce1d0829b587f5f0eee744e907921c58.zip
Update.
2001-03-15  Ulrich Drepper  <drepper@redhat.com>

	* Versions [libpthread] (GLIBC_2.2.3): Add pthread_getattr_np.
	* attr.c: Implement pthread_getattr_np.
	* sysdeps/pthread/pthread.h: Add prototype for pthread_getattr_np.
	* internals.h (struct _pthread_descr_struct): Add p_inheritsched.
	* manager.c (pthread_handle_create): Initialize p_inheritsched.

	* sysdeps/unix/sysv/linux/s390/pt-initfini.c: Use 0x07 padding for
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 06853323bb..f3f8af2c8e 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -178,6 +178,7 @@ struct _pthread_descr_struct {
   int p_untracked_readlock_count;	/* Readlocks not tracked by list */
   struct __res_state *p_resp;	/* Pointer to resolver state */
   struct __res_state p_res;	/* per-thread resolver state */
+  int p_inheritsched;           /* copied from the thread attribute */
   /* New elements must be added at the end.  */
 } __attribute__ ((aligned(32))); /* We need to align the structure so that
 				    doubles are aligned properly.  This is 8