diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-06 11:18:17 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-06 11:18:17 +0100 |
commit | 170f647a4a0deab3d003db7c7e06fbbe795c83af (patch) | |
tree | 11c93b0d2b1580a35887ce0bf3c982d3e096ae2d /sysdeps/pthread/pthreadP.h | |
parent | 100a2df1686521605a784062ccda6a6b30c62deb (diff) |
Move headers to sysdeps so the normal sysdeps mechanism works
to cope with the removal of add-ons mechanism.
* include/pthread/pthread.h: rename to sysdeps/generic/pthread/pthread.h
* include/pthread/pthreadtypes.h: rename to
sysdeps/generic/pthread/pthreadtypes.h
* pthreadP.h: rename to sysdeps/pthread/pthreadP.h
Diffstat (limited to 'sysdeps/pthread/pthreadP.h')
-rw-r--r-- | sysdeps/pthread/pthreadP.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sysdeps/pthread/pthreadP.h b/sysdeps/pthread/pthreadP.h new file mode 100644 index 0000000..97e3028 --- /dev/null +++ b/sysdeps/pthread/pthreadP.h @@ -0,0 +1,27 @@ +/* Copyright (C) 2016 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 Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + +#ifndef _PTHREADP_H +#define _PTHREADP_H 1 + +#include <pthread.h> + +extern pthread_t __pthread_self (void); +extern int __pthread_kill (pthread_t threadid, int signo); +extern struct __pthread **__pthread_threads; + +#endif /* pthreadP.h */ |