diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 02:33:09 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 02:33:09 +0100 |
commit | dc0f656926203b7b7c05ea226225daa8a63fcdb1 (patch) | |
tree | 577c5b6c18223905110fa40ca2da2f329e8b5943 /sysdeps/pthread/bits/thread-attr.h | |
parent | 164f0e35665764e6d0d03213c07d3998c6538567 (diff) |
Move bits/thread-attr.h to bits/types/struct___pthread_attr.h
* sysdeps/pthread/bits/thread-attr.h: Move file to...
* sysdeps/pthread/bits/types/struct___pthread_attr.h: ... here.
* Makefile (headers): Update accordingly.
* sysdeps/generic/pthread.h: Likewise.
* sysdeps/pthread/bits/pthreadtypes.h: Likewise.
Diffstat (limited to 'sysdeps/pthread/bits/thread-attr.h')
-rw-r--r-- | sysdeps/pthread/bits/thread-attr.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sysdeps/pthread/bits/thread-attr.h b/sysdeps/pthread/bits/thread-attr.h deleted file mode 100644 index 3b1591f..0000000 --- a/sysdeps/pthread/bits/thread-attr.h +++ /dev/null @@ -1,45 +0,0 @@ -/* Thread attribute type. Generic version. - Copyright (C) 2000-2018 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If - not, see <http://www.gnu.org/licenses/>. */ - -#ifndef _BITS_THREAD_ATTR_H -#define _BITS_THREAD_ATTR_H 1 - -#include <sched.h> - -#define __need_size_t -#include <stddef.h> - -enum __pthread_detachstate; -enum __pthread_inheritsched; -enum __pthread_contentionscope; - -/* This structure describes the attributes of a POSIX thread. Note - that not all of them are supported on all systems. */ -struct __pthread_attr -{ - struct sched_param __schedparam; - void *__stackaddr; - size_t __stacksize; - size_t __guardsize; - enum __pthread_detachstate __detachstate; - enum __pthread_inheritsched __inheritsched; - enum __pthread_contentionscope __contentionscope; - int __schedpolicy; -}; - -#endif /* bits/thread-attr.h */ |