diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 21:15:46 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-02-09 13:56:48 +0100 |
commit | e5ad0570682a663fe704f0a7bb1edb61fca11ecb (patch) | |
tree | ef2eff23cd9d361811bd77459aa63752b6ca5ff0 /sysdeps/nptl/bits | |
parent | f827f0e473d0aab4b34a5618a2a2ed89ecb88347 (diff) | |
download | glibc-e5ad0570682a663fe704f0a7bb1edb61fca11ecb.tar glibc-e5ad0570682a663fe704f0a7bb1edb61fca11ecb.tar.gz glibc-e5ad0570682a663fe704f0a7bb1edb61fca11ecb.tar.bz2 glibc-e5ad0570682a663fe704f0a7bb1edb61fca11ecb.zip |
nptl: Move nptl-specific types to separate header
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/nptl/bits')
-rw-r--r-- | sysdeps/nptl/bits/thread-shared-types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/nptl/bits/thread-shared-types.h b/sysdeps/nptl/bits/thread-shared-types.h index fd08b6916a..fbbdd0bb36 100644 --- a/sysdeps/nptl/bits/thread-shared-types.h +++ b/sysdeps/nptl/bits/thread-shared-types.h @@ -116,4 +116,14 @@ struct __pthread_cond_s unsigned int __g_signals[2]; }; +typedef unsigned int __tss_t; +typedef unsigned long int __thrd_t; + +typedef struct +{ + int __data __ONCE_ALIGNMENT; +} __once_flag; + +#define __ONCE_FLAG_INIT { 0 } + #endif /* _THREAD_SHARED_TYPES_H */ |