From 3bf927cbce1d0829b587f5f0eee744e907921c58 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 15 Mar 2001 21:13:12 +0000 Subject: Update. 2001-03-15 Ulrich Drepper * 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 --- linuxthreads/sysdeps/pthread/pthread.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linuxthreads/sysdeps') diff --git a/linuxthreads/sysdeps/pthread/pthread.h b/linuxthreads/sysdeps/pthread/pthread.h index 1a190e0cd4..08a338b9a8 100644 --- a/linuxthreads/sysdeps/pthread/pthread.h +++ b/linuxthreads/sysdeps/pthread/pthread.h @@ -289,6 +289,11 @@ extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __THROW; +#ifdef __USE_GNU +/* Get thread attributes corresponding to the already running thread TH. */ +extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) __THROW; +#endif + /* Functions for scheduling control. */ /* Set the scheduling parameters for TARGET_THREAD according to POLICY -- cgit 1.4.1