diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 20:05:08 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-02-09 13:56:48 +0100 |
commit | 0c0361235ca7d4f5be0f88fe9b03afcf6a3cb8c6 (patch) | |
tree | 1a891e5c28f899d5490a7068b36d17f0515e023a /htl/pt-internal.h | |
parent | htl: Add missing internal functions declarations (diff) | |
download | glibc-0c0361235ca7d4f5be0f88fe9b03afcf6a3cb8c6.tar.gz glibc-0c0361235ca7d4f5be0f88fe9b03afcf6a3cb8c6.tar.bz2 glibc-0c0361235ca7d4f5be0f88fe9b03afcf6a3cb8c6.zip |
htl: Add support for C11 threads behavior
Essentially properly calling the thread function which returns an int
instead of a void*.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'htl/pt-internal.h')
-rw-r--r-- | htl/pt-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/htl/pt-internal.h b/htl/pt-internal.h index 274223cfe1..9147b87740 100644 --- a/htl/pt-internal.h +++ b/htl/pt-internal.h @@ -100,6 +100,9 @@ struct __pthread /* Resolver state. */ struct __res_state res_state; + /* Indicates whether is a C11 thread created by thrd_creat. */ + bool c11; + /* Thread context. */ struct pthread_mcontext mcontext; |